Class RssPermissionManagerImpl

java.lang.Object
com.atlassian.bamboo.deployments.specs.RssPermissionManagerImpl
All Implemented Interfaces:
RssPermissionManager

public class RssPermissionManagerImpl extends Object implements RssPermissionManager
  • Constructor Summary

    Constructors
    Constructor
    Description
    RssPermissionManagerImpl(AuditLogService auditLogService, BambooPermissionManager bambooPermissionManager, com.atlassian.bandana.BandanaManager bandanaManager, DeploymentProjectDao deploymentProjectDao, DeploymentProjectService deploymentProjectService, ProjectManager projectManager, RepositoryDefinitionDao repositoryDefinitionDao, RssDeploymentProjectPermissionDao rssDeploymentProjectPermissionDao, RssProjectPermissionDao rssProjectPermissionDao, RssRepositoryPermissionDao rssRepositoryPermissionDao, RssExecutionDirectoryManager rssExecutionDirectoryManager, AdministrationConfigurationAccessor administrationConfigurationAccessor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    disableAllProjectAccess(long repositoryId)
    Forbid Bamboo Specs stored in the repository identified by repositoryId to create or modify plans in all projects and deployment projects in Bamboo.
    void
    disableAllRepositoriesAccess(long repositoryId)
    Forbid Bamboo Specs stored in the repository identified by repositoryId to use any linked repositories in Bamboo.
    void
    disableProjectCreation(long repositoryId)
    Forbid Bamboo Specs stored in the repository identified by repositoryId to create new projects.
    List all deployment projects which can be created or modified by the Bamboo Specs from a repository identified by repositoryId.
    getAccessibleProjects(long repositoryId)
    List all build projects in which plans can be created or modified by the Bamboo Specs from a repository identified by repositoryId.
    getAccessibleRepositories(long repositoryId)
    List all repositories which can be used by the Bamboo Specs from a repository identified by repositoryId.
    List all repositories which are allowed to create or modify plans inside a deployment project identified by projectId.
    List all repositories which are allowed to create or modify plans inside a build project identified by projectId.
    getRepositoriesWithAccessToRepository(long targetRepositoryId)
    List all repositories which are allowed to use target repository identified by targetRepositoryId.
    void
    grantDeploymentProjectAccess(long projectId, long repositoryId)
    Allow Bamboo Specs stored in the repository identified by repositoryId to modify a deployment project identified by projectId.
    void
    grantProjectAccess(long projectId, long repositoryId)
    Allow Bamboo Specs stored in the repository identified by repositoryId to modify plans in a project identified by projectId.
    void
    grantRepositoryAccess(long targetRepositoryId, long repositoryId)
    Allow Bamboo Specs stored in the repository identified by repositoryId to use repository identified by targetRepositoryId.
    boolean
    isAllProjectsAccess(long repositoryId)
    Whether a Bamboo Specs stored in the repository identified by repositoryId to modify all projects.
    boolean
    isAllRepositoriesAccess(long repositoryId)
    Whether a Bamboo Specs stored in the repository identified by repositoryId to use all repositories.
    boolean
    isProjectCreationAllowed(long repositoryId)
    Whether a Bamboo Specs stored in the repository identified by repositoryId are allowed to create new build and deployment projects.
    void
    revokeDeploymentProjectAccess(long projectId, long repositoryId)
    Forbid Bamboo Specs stored in the repository identified by repositoryId to modify a deployment project identified by projectId.
    void
    revokeProjectAccess(long projectId, long repositoryId)
    Forbid Bamboo Specs stored in the repository identified by repositoryId to modify plans in a project identified by projectId.
    void
    revokeRepositoryAccess(long targetRepositoryId, long repositoryId)
    Forbid Bamboo Specs stored in the repository identified by repositoryId to use a repository identified by targetRepositoryId.
    void
    toggleAllProjectRepositoriesAccess(long repositoryId, @NotNull String projectKey, boolean enabled)
    Allow or forbid Bamboo Specs stored in the repository identified by repositoryId to use all project repositories in plan of project.
    void
    toggleAllProjectsAccess(long repositoryId, boolean enabled)
    Allow or forbid Bamboo Specs stored in the repository identified by repositoryId to create or modify plans in all projects and deployment projects in Bamboo.
    void
    toggleAllRepositoriesAccess(long repositoryId, boolean enabled)
    Allow or forbid Bamboo Specs stored in the repository identified by repositoryId to use all linked repositories in plans or deployment projects in Bamboo.
    void
    toggleProjectCreationPermission(long repositoryId, boolean enabled)
    Allow or forbid Bamboo Specs stored in the repository identified by repositoryId to create new build and deployment projects.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait