Skip to content

关于角色权限bug #649

@Eminem-x

Description

@Eminem-x

Describe the bug

  1. 根据 role_key 拉取权限,会有 bug,如果同样以一个 role 其此项值误设置成 admin
    那么它将会拉取超级管理员的菜单
  2. 根据 role_key 拉取权限的后续部分查找对应菜单权限,依然逻辑有问题,会无法更新 navbar 上的菜单

To Reproduce
Steps to reproduce the behavior:

  1. 主页随意添加角色,但是在标识设置为 admin
  2. 创建此角色对应的用户,然后登录即可看到效果

Expected behavior
角色权限对应菜单未生效

Screenshots
暂无

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions