You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LmcRbacMvc does not provide functionality to manage roles.
It provides listeners and services to check that a user has the permission to use a resource. This is done my checking the role of the user, as provided by the user entity against the roles and permissions of the resource. It uses Role providers to get roles and permissions. There is a simple InMemoryRoleProvider that uses a config array to provide the roles and permissions definition. This is documented here: https://lm-commons.github.io/LmcRbacMvc/docs/role-providers
You can implement your own based on a database if you want or use the ORM provider.
Is expects the user entity to implement the LaminasRbcMvc\Identity\IdentityInterface such that it can provides the roles of the user.
But I agree that documentation can be improved and a tutorial would help.
I was searching the document on how can I addRole or permission using this repo. but I didnt find any suitable information under the hood of this link. https://github.com/LM-Commons/LmcRbacMvc/tree/master/docs/docs
The text was updated successfully, but these errors were encountered: