It is necessary to develop a permission function for an antd project. Of course, the real permission is completed by the background. The front-end part needs to dynamically display some menus according to the permission and add or delete the permission of the role. I would like to ask you to share your ideas; The problem is organized as follows:
- According to the role identity of the logged-in user, some menus are dynamically displayed, and some are not visible;
- li>
- The administrator user can assign roles to other users and edit the permissions of the roles;
The current project uses ant design pro ;
Welcome to exchange ideas!