Answer the question
In order to leave comments, you need to log in
How to differentiate rights by roles in Symfony?
Hello! I have no experience with symphony, only with laravel. Therefore, the question of the differentiation of rights arose.
The best way to do this is:
Let's say there are 2 user roles. Each has its own view
views/
base.html
u1-ext_base.html
u2
-ext_base.html
There is a url, say "/user"
And a controller, for example "UserController"
, with your data. At what level is this being done?
And how best to organize views, actions, etc.
Thanks for the help
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question