public abstract static class Permissions.Wrap extends Object implements Permissions
Permissions.Single, Permissions.WrapANY_USER, FREE| Modifier | Constructor and Description |
|---|---|
protected |
Wrap(Permissions origin)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowed(Authentication.User user,
String action)
Check if user is allowed to perform an action.
|
protected Wrap(Permissions origin)
origin - Origin permissions.public final boolean allowed(Authentication.User user, String action)
Permissionsallowed in interface Permissionsuser - Useraction - Action to performCopyright © 2012–2020 jcabi.com. All rights reserved.