public interface Permissions
Modifier and Type | Interface and Description |
---|---|
static class |
Permissions.Action
Action.
|
Modifier and Type | Method and Description |
---|---|
boolean |
check(Permissions.Action action,
Optional<Identity> identity)
Checks if an action is allowed by at least one role.
|
@CheckReturnValue boolean check(@Nonnull Permissions.Action action, @Nonnull Optional<Identity> identity)
action
- The action.identity
- The optional identity.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.