1
ignasiclos created
Hello, We've some permissions that only applies when a feature is activated, and we want them hidden in the edit role popup. It looks like it is not possible out of the box.
Any idea? Thanks
4 Answer(s)
-
0
Hi,
Are you using Angular 8 version or JQuery version ?
-
0
Angular 8
-
0
hi,
Set
FeatureDependency
to the permission and it'll not be listed on the permission list. See the code that retrieves permissionshttps://github.com/aspnetboilerplate/aspnetboilerplate/blob/e0ded5d8702f389aa1f5947d3446f16aec845287/src/Abp/Authorization/PermissionManager.cs#L70
-
0
It worked perfectly. Thanks!