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