public class GroupPermission extends Object implements Permission
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
protected Collection<String> |
groups |
static org.slf4j.Logger |
logger |
Constructor and Description |
---|
GroupPermission(Collection<String> groups) |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasPermissions(Permissions configuration,
Collection<String> groups,
AccessLevel level,
String... permissions) |
boolean |
implies(Permission p) |
public static final String copyright
protected final Collection<String> groups
public static final org.slf4j.Logger logger
public GroupPermission(Collection<String> groups)
public boolean implies(Permission p)
implies
in interface Permission
public static boolean hasPermissions(Permissions configuration, Collection<String> groups, AccessLevel level, String... permissions)