mirror of
https://github.com/yangzongzhuan/RuoYi-Cloud.git
synced 2025-09-09 22:29:08 +00:00
自定义数据权限不排除重复
This commit is contained in:
@@ -92,7 +92,7 @@ public class DataScopeAspect
|
||||
for (SysRole role : user.getRoles())
|
||||
{
|
||||
String dataScope = role.getDataScope();
|
||||
if (conditions.contains(dataScope))
|
||||
if (!DATA_SCOPE_CUSTOM.equals(dataScope) && conditions.contains(dataScope))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user