Answer the question
In order to leave comments, you need to log in
How to get all roles and their children in yii2 RBAC Phpmanager?
How to get all roles and their children in yii2 RBAC Phpmanager?
I'm trying this way, $app->getAuthManager()->getRoles();
but it gives out only roles and dates of creation description, and type
Answer the question
In order to leave comments, you need to log in
1. Have you ever worked with arrays? If yes, then get these Files Look at how these Files are arranged in you and get the lists from the array.
2. Why are you getting roles? RBAC implements access control, not a mapping of user roles. For a good role, do it separately.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question