Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
aff54ab5
Commit
aff54ab5
authored
Jul 26, 2022
by
RuoYi
Browse files
自定义数据权限不排除重复
parent
06177add
Changes
2
Hide whitespace changes
Inline
Side-by-side
ruoyi-common/src/main/java/com/ruoyi/common/exception/GlobalException.java
View file @
aff54ab5
...
...
@@ -7,7 +7,6 @@ package com.ruoyi.common.exception;
*/
public
class
GlobalException
extends
RuntimeException
{
private
static
final
long
serialVersionUID
=
1L
;
/**
...
...
ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/DataScopeAspect.java
View file @
aff54ab5
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment