commit
79265d59b7
|
@ -164,6 +164,6 @@ public class PermissionService
|
|||
*/
|
||||
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…
Reference in New Issue