Interface PermissionManager
public interface PermissionManager
-
Field Summary
Fields -
Method Summary
-
Field Details
-
PERMISSION_REGEX
Regex pattern used to validate permission strings.Notes:
Permission strings are composed of a series of nodes separated by dots with alphanumeric characters and minus signs, such as
"plugin.command".
A parent node is always overridden by a child node, such as"plugin.command"overriding"plugin".
Wildcards are also allowed, but they currently have the same effect as a normal node, such as"plugin.command.*"equals"plugin.command".
The only relevant use of wildcards is the root permission"*"permission. It allows you to set a default value for all permissions.- See Also:
-
PERMISSION_PATTERN
-
-
Method Details
-
getPermission
-