Menu permission problem

there is a requirement that the menu 1234 B that can be viewed by role permission A can only see 123, which is generally made with the backend to make dynamic permissions, and the status values of An and B are returned by the background respectively. How to use 11, 12 to display the menu or not, and how to control permissions at the front end? how to think

Jul.23,2021

The idea of

is to make dynamic permissions in the background. As for how to display menus with 11 or 12 or not , don't ask this question here, just ask your backstage. You don't even know what this means. How do we passers-by know?

if you are better than him, you ask him to generate a tree structure to return to you, and he is better than you. Ask what 11 and 12 mean, and generate the tree structure yourself


permission control, menu control and separation of front and rear ends do not affect it. Let the backend watch rbac several times, and return the menu of the role to which the login role is logged in

.
Menu