I have a web application where i have 5 level of users like
- Administrator
- OrganisationHead
- LocalCOmpany head
- Teacher
- parents
- students
Now every userwill have different landing page or with some more or less tabs or features.
Now i want to know that is it i only make it as one Entity and then Roles in different entity so that i can simplify the login process
Here is an example of how you would go about it
Your controller:
Twig: