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.
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.