Answer the question
In order to leave comments, you need to log in
How to divide the project into three roles: student, teacher and administrator?
Hello!
Please tell me how should the project structure with three roles look like?
I read somewhere that if in the advanced template, then we create the third role by copying the frontend'a or backend'a, but for some reason I'm not sure that this is the right decision
Answer the question
In order to leave comments, you need to log in
Good evening.
You need to use rbac.
The simplest sign is described in this article .
In the article you will find some more interesting links on the topic.
basic and advanced are not from that opera at all, you need to look towards rbac (role-based access rights distribution)
frontend and backend are not roles, they are applications. Separated with their own config, etc. Roles are completely irrelevant.
User roles are made via RBAC
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question