Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

动态路由,菜单权限 #3297

Open
WhiteSean opened this issue Jul 2, 2020 · 2 comments
Open

动态路由,菜单权限 #3297

WhiteSean opened this issue Jul 2, 2020 · 2 comments

Comments

@WhiteSean
Copy link

一级菜单设置成roles: ['admin', 'editor'],二级菜单,某些权限只能是admin,某些权限只能是editor,换句话说,二级菜单某些只能管理员可见,某些只能普通用户可见。但是左侧菜单依然能看的到只能editor只见的菜单,并且能访问。请问这是bug吗?
image
已上图中的directive菜单管理员也能看到,其实只能普通用户可见。

@toesbieya
Copy link

admin能看到所有的

@yzh990918
Copy link

管理员看不到的用指令控制试下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants