We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.2.1
用户多角色时,不同角色数据权限配置,导致权限冲突, 例:部门管理角色,拥有查看部门内所有数据权限, 普通用户,拥有查看属于自己的数据权限, 当用户同时拥有两种权限时,权限冲突,导致只能显示最低级别的权限控制
友情提示: 未按格式要求发帖,会直接删掉。
The text was updated successfully, but these errors were encountered:
目前的确是按照授权生效的方式进行设计的,数据权限是授权了,才生效
Sorry, something went wrong.
我也遇到同样的困惑,用户授权多个角色,每个角色有自己的条件限制,之间是同时满足的关系,但不同角色之前应该是或的关系,用SQL表示应该是 (角色1条件1 and 角色1条件2 and 角色1条件3)or (角色2条件1 and 角色2条件2 and 角色2条件3)
No branches or pull requests
版本号:
2.2.1
问题描述:
用户多角色时,不同角色数据权限配置,导致权限冲突,
例:部门管理角色,拥有查看部门内所有数据权限,
普通用户,拥有查看属于自己的数据权限,
当用户同时拥有两种权限时,权限冲突,导致只能显示最低级别的权限控制
截图&代码:
友情提示: 未按格式要求发帖,会直接删掉。
The text was updated successfully, but these errors were encountered: