mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
Merge branch 'master' of github.com:youlaitech/youlai-mall
This commit is contained in:
commit
022d88a4f1
@ -75,7 +75,7 @@ public class ResourceServerManager implements ReactiveAuthorizationManager<Autho
|
|||||||
String perm = permRoles.getKey();
|
String perm = permRoles.getKey();
|
||||||
if (pathMatcher.match(perm, restfulPath)) {
|
if (pathMatcher.match(perm, restfulPath)) {
|
||||||
List<String> roles = Convert.toList(String.class, permRoles.getValue());
|
List<String> roles = Convert.toList(String.class, permRoles.getValue());
|
||||||
authorizedRoles.addAll(Convert.toList(String.class, roles));
|
authorizedRoles.addAll(roles);
|
||||||
if (requireCheck == false) {
|
if (requireCheck == false) {
|
||||||
requireCheck = true;
|
requireCheck = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user