zhouhao 6 лет назад
Родитель
Сommit
dbbe08eb38

+ 5 - 0
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();