Interface PermissionProvider


public interface PermissionProvider
Provider for available verbs and roles for repository permissions, such as "read", "modify", "pull", "push", etc. This collection of verbs can be extended by plugins and be grouped to roles, such as "READ", "WRITE", etc. The permissions are configured by "repository-permissions.xml" files from the core and from plugins.
Since:
2.12.0
  • Method Details

    • availableVerbs

      Collection<String> availableVerbs()
      The collection of all registered verbs.
    • readOnlyVerbs

      Collection<String> readOnlyVerbs()
      The collection of verbs that are marked as "read only". These verbs are safe for archived or otherwise read only repositories.
    • availableRoles

      Collection<RepositoryRole> availableRoles()
      The collection of roles defined and extended by core and plugins.