Преглед изворни кода

不限制知识库查询权限

fengyanjie пре 3 година
родитељ
комит
e903de308f

+ 2 - 0
dmp-rwd-edit/src/main/java/com/persagy/dmp/rwd/edit/config/shiro/ShiroConfig.java

@@ -50,6 +50,8 @@ public class ShiroConfig {
 
         Map<String, String> filterChainDefinitionMap = new LinkedHashMap<String, String>();
         filterChainDefinitionMap.put("/rwdedit/login", "anon");
+        filterChainDefinitionMap.put("/rwdedit/ref/type/query", "anon");
+        filterChainDefinitionMap.put("/rwdedit/ref/type/infos/query", "anon");
         filterChainDefinitionMap.put("/system/user/update", "authc,perms[system:user:update]");
         filterChainDefinitionMap.put("/**", "authc");
         shiroFilterFactoryBean.setFilterChainDefinitionMap(filterChainDefinitionMap);