0
dhill created
- ABP Framework version: v8.3.0
- UI Type: Blazor WASM
- Database System: EF Core SQL Server
We have a use case where we need to hide some permissions for normal users and only expose them to super users such as the built in admin account or perhaps if the email address matches a certain pattern.
XyzWebPermissionDefinitionProvider seems to only run once at startup.
How can we override this core functionality to hide permissions at runtime?
1 Answer(s)
-
0
hi
ABP Fremework doesn't support your case.
If you want to hide the permissions on the UI page. You can override the application service.
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Application/Volo/Abp/PermissionManagement/PermissionAppService.cs#L0-L1