0
I am developing an application following the MVC standard, and will have 2 levels of users, the normal and the admin, as regards the options of what each user can do, it is better to make a logic in the controller to show certain view or some action of another controller or create some "if blocks" in a default view to "hide" admin menus only or vice/versa?
Case study:
A normal user accesses Dashboard after login, the ideal would be show a view (views/user_normal) specific to him, who only has the menus/links of his level, or use a view (views/all_users) for both levels and hide menus/links validated?