Answer the question
In order to leave comments, you need to log in
How to separate frontend and backend in yii2?
How to separate the functionality, so that after authorization a user template would be shown depending on his role?
Use behavior or rbac?
For example:
A user logs in, and based on his role, "electric" shows the electrician interface, and admin shows the admin interface.
And how to check every time who is who in order not to let the electrician into the admin?
Answer the question
In order to leave comments, you need to log in
Use behavior or rbac?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question