!109 误修改,回退

Merge pull request !109 from tucke/master
This commit is contained in:
若依 2020-10-26 10:00:46 +08:00 committed by Gitee
commit 79265d59b7

View File

@ -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));
} }
} }