Skip to content

WebApi版获取菜单权限,返回菜单权限异常 #104

@andylxy

Description

@andylxy

请求/Admin/User/Info

1、查询数据库记录权限是以下这样的

Image

2、在/Admin/User/Info 属性 user.Roles.Permission 、角色显示的权限都是和菜单数据表记录的权限不一样。基本都是PermissionFlags.All 也就是-1,

Image

3 SetPermission 处理后,

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbug问题

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions