Interface PermissionManager


public interface PermissionManager
  • Field Details

    • PERMISSION_REGEX

      static final String 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

      static final Pattern PERMISSION_PATTERN
  • Method Details