You can upload your test project to Github, and invite me to join.
Does this mean I can skip the static portion? and just use Dynamic Permission?
Yes.
You can upload your test project to Github, and invite me to join.
https://github.com/maliming
hi
You can check the source code of the Language Management module.
The DynamicLocalizationResourceContributor
and DynamicResourceLocalizer
services
hi
If tag helper doesn't work for you. You can use bootstrap HTML code.
hi
Thanks,
hi
You can insert it into AbpPermissions
table.
Then call the DynamicPermissionDefinitionStoreInMemoryCache
method to clear the memory cache.
DynamicPermissionDefinitionStoreInMemoryCache.LastCheckTime = null;
DynamicPermissionDefinitionStoreInMemoryCache.CacheStamp = Guid.NewGuid().ToString();
In other words: you can use DynamicPermissionDefinitionStore
to add new permission to the database instead of using StaticPermissionDefinitionStore
Dynamic means getting permissions from the database. and use DynamicPermissionDefinitionStoreInMemoryCache
to cache it
hi
It would be best if you could create a webapp template project to check the key code.
Thanks.
hi
There is a GetTenantDomain = (context, _) => Task.FromResult(context.Request.Scheme + "://" + context.Request.Host);
in AbpAccountOptions
to get tenant domain.
The source code from https://abp.io/support/questions/4615/Impersonate-tenant-issue-with-custom-tenant-resolver-by-sub-domain
I will try to use GetTenantDomain
during Impersonate
Thanks.
hi
The device code flow is used to authenticate/generate tokens for a device
. e.g., ABP CLI supports this flow.
You can try run abp login --device
.
The source code : https://github.com/abpframework/abp/pull/10857