-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
关于角色权限bug #649
Comments
问题2 |
关于权限的判断在代码里是根据
但是数据库中并未设置这个字段不可重复,所以如果无意的将某一个普通角色命名成 @wenjianzhang 另外一个问题是,当多用户登陆时,较高权限者去给较低权限者增加 navbar 上的权限时, (navbar 是前端UI,对应的是这部分,如下图:) 比如:监控管理、系统工具等会无法显示(具体的忘记了),刷新也无用 |
rolekey需要完善,做唯一性校验; |
|
菜单显示的问题说明解释: 角色key的唯一性,已经添加校验; |
ok 解决 |
Describe the bug
role_key
拉取权限,会有bug
,如果同样以一个role
其此项值误设置成admin
,那么它将会拉取超级管理员的菜单
role_key
拉取权限的后续部分查找对应菜单权限,依然逻辑有问题,会无法更新navbar
上的菜单To Reproduce
Steps to reproduce the behavior:
admin
Expected behavior
角色权限对应菜单未生效
Screenshots
暂无
The text was updated successfully, but these errors were encountered: