误修改,回退

master
tucke 4 years ago
parent 3807b11290
commit 093ba5b389
  1. 2
      ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/PermissionService.java

@ -164,6 +164,6 @@ public class PermissionService
*/ */
private boolean hasPermissions(Set<String> permissions, String permission) private boolean hasPermissions(Set<String> permissions, String permission)
{ {
return permissions.contains(ALL_PERMISSION) || permissions.equals(StringUtils.trim(permission)); return permissions.contains(ALL_PERMISSION) || permissions.contains(StringUtils.trim(permission));
} }
} }

Loading…
Cancel
Save