Interface ProjectPermissionTypesManager

All Known Implementing Classes:
MockProjectPermissionTypesManager, ProjectPermissionTypesManagerImpl

public interface ProjectPermissionTypesManager
Manages project permissions defined by plugins (including system project permissions).
Since:
v6.3
  • Method Details

    • all

      Returns:
      all project permissions.
    • withCategory

      Parameters:
      category - project permission category.
      Returns:
      all project permissions of the specified category.
    • withKey

      io.atlassian.fugue.Option<ProjectPermission> withKey(ProjectPermissionKey permissionKey)
      Returns a project permission matching the specified key.
      Parameters:
      permissionKey - A project permission key.
      Returns:
      a project permission for the given permission key. Option.none() if there is no permission with this key.
    • exists

      boolean exists(ProjectPermissionKey permissionKey)
      Returns a boolean value indicating whether a project permission with the given key exists.
      Parameters:
      permissionKey - A project permission key.
      Returns:
      true if the permission with the given key exists, otherwise false.