First of all, when we log in, we need to obtain all the permissions of the role, and then put them in the session scope
Then take them out on the function page and make a judgment to see what permissions he has and what can be displayed. Function module
and then display the page to display accordingly