0
fadijb created
Hi How to make integration between feature and role
I create new module and added this module as a feature every thing working fine but when I disable feature its still exite inside role
I need to hide it from role when disabled from features like other build in features
- ABP Framework version: v7.0.3
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:"
1 Answer(s)
-
0
Hello, would you like to try adding the permissions in your PermissionDefinitionProvider class using the following code:
group.AddPermission(MyPermission.Permission, L("Permission:Permission")).RequireFeatures(MyFeature.Enable);
?