diff --git a/hsweb-system/hsweb-system-organizational/hsweb-system-organizational-authorization/src/main/java/org/hswebframework/web/organizational/authorization/simple/handler/ScopeByUserHandler.java b/hsweb-system/hsweb-system-organizational/hsweb-system-organizational-authorization/src/main/java/org/hswebframework/web/organizational/authorization/simple/handler/ScopeByUserHandler.java index 1be995dad..c49aff5c9 100644 --- a/hsweb-system/hsweb-system-organizational/hsweb-system-organizational-authorization/src/main/java/org/hswebframework/web/organizational/authorization/simple/handler/ScopeByUserHandler.java +++ b/hsweb-system/hsweb-system-organizational/hsweb-system-organizational-authorization/src/main/java/org/hswebframework/web/organizational/authorization/simple/handler/ScopeByUserHandler.java @@ -149,6 +149,11 @@ public class ScopeByUserHandler implements DataAccessHandler { scope = config.getScope(); allScope = scope; break; + case "CUSTOM_SCOPE_POSITION": + termType = "user-in-position"; + scope = config.getScope(); + allScope = scope; + break; case "CUSTOM_SCOPE_DEPT": termType = "user-in-department"; scope = config.getScope();