Commit b9ec67e5 authored by maqing's avatar maqing

ROLE_1 公共资源不拦截

parent 1431f0ce
......@@ -85,6 +85,10 @@ public class AuthorizationManager implements ReactiveAuthorizationManager<Author
if ("ROLE_0".equals(roleId)) {
return true;
}
//如果是公共资源 直接放行
if ("ROLE_1".equals(roleId)) {
return true;
}
String[] splitpath = path.split("/");
String pathNew = "/" + splitpath[1] + "/" + splitpath[2] + "/*";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment