nestjs-rbac icon indicating copy to clipboard operation
nestjs-rbac copied to clipboard

Feature Request - WildCard Grant For Role

Open ogheneovo12 opened this issue 1 year ago • 1 comments

For instance, if a superadmin is to be granted all existing permissions, this presents a challenge with DynamicStorage. The permissions granted to the superadmin will have to be synced every time new permissions are created. Alternatively, the granted permissions can be exempted from being persisted and generated at the point of getRbac call. To avoid this issue, it would be ideal to have a wildcard grant feature so that there is no need to sync the permissions.

ogheneovo12 avatar May 03 '23 03:05 ogheneovo12