Skip to content

Commit

Permalink
fixed syntactical error
Browse files Browse the repository at this point in the history
  • Loading branch information
acoburn committed Aug 27, 2015
1 parent 07fab3a commit 79156f5
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -86,8 +86,7 @@ public boolean rolesHavePermission(final Session userSession, final String absPa
.map(x -> isPermitted(actionURIs, x));

final boolean permit = userPermission
.orElse(groupPermission)
.orElse(false);
.orElse(groupPermission.orElse(false));

LOGGER.debug("Request for actions: {}, on path: {}, with roles: {}. Permission={}",
actions,
Expand Down

0 comments on commit 79156f5

Please sign in to comment.