hi
You can create a new unit of work.
using (CurrentTenant.Change(null))
{
using (var uow = _unitOfWorkManager.Begin(
requiresNew: true
))
{
// GetAsync works on host! It gets cached item from host.
var cachedClient = await _clientCache.GetAsync(identityClient.ClientId);
cachedClient.Enabled = false;
// But SetAsync does not work on host! It adds a new cached item under tenant folder on redis.
// Instead of overwriting the item on host folder.
await _clientCache.SetAsync(identityClient.ClientId, cachedClient, new DistributedCacheEntryOptions
{
AbsoluteExpirationRelativeToNow = _identityServerOptions.Caching.ClientStoreExpiration
},
considerUow: true);
await uow.CompleteAsync();
}
}
Can you try considerUow: false
We are currently focused on working on LeptonX theme. We want to release it as soon as possible, too. Development of theme is almost finished but there are still unresolved issues on Theme. After resolving them, it'll be released very soon.
hi
I don't think this is possible. But you can search it in Identity Server.
Today or tomorrow.
You can copy https://github.com/abpframework/abp/tree/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Blazor https://github.com/abpframework/abp/tree/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Blazor.Server to your project instead of using the package.
Thanks 👍
hi
Can you create a new template copy your code then share it with me? liming.ma@volosoft.com
Yes, and no other customers have reported this.