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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e48ca5-59d2f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e48ca5-59d2f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?