Uses of Class
com.atlassian.bamboo.security.acegi.acls.BambooPermission
-
-
Uses of BambooPermission in com.atlassian.bamboo.configuration
Methods in com.atlassian.bamboo.configuration that return BambooPermission Modifier and Type Method Description BambooPermission
AbstractPermissionAction. getMinimalPermission()
Minimal permission to grant when adding new principal. -
Uses of BambooPermission in com.atlassian.bamboo.configuration.external.helpers
Methods in com.atlassian.bamboo.configuration.external.helpers that return BambooPermission Modifier and Type Method Description static BambooPermission
PermissionHelper. toBambooPermission(com.atlassian.bamboo.specs.api.builders.permission.PermissionType permissionType)
Methods in com.atlassian.bamboo.configuration.external.helpers that return types with arguments of type BambooPermission Modifier and Type Method Description protected static Collection<BambooPermission>
PermissionHelper. toEffectiveBambooPermissions(@NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull Collection<com.atlassian.bamboo.specs.api.builders.permission.PermissionType> permissionTypes, boolean viewConfigurationSupported, boolean isProjectLevelBuildResourcesEnabled)
Methods in com.atlassian.bamboo.configuration.external.helpers with parameters of type BambooPermission Modifier and Type Method Description static com.atlassian.bamboo.specs.api.builders.permission.PermissionType
PermissionHelper. fromBambooPermission(BambooPermission bambooPermission)
Method parameters in com.atlassian.bamboo.configuration.external.helpers with type arguments of type BambooPermission Modifier and Type Method Description static void
PermissionHelper. addPermissionsToList(@NotNull List<String> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull com.atlassian.bamboo.specs.api.model.permission.PermissionsProperties permissionProperties, boolean viewConfigurationPermissionEnabled, boolean isProjectLevelBuildResourcesEnabled)
static void
PermissionHelper. addPermissionsToList(@NotNull List<String> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull com.atlassian.bamboo.specs.api.model.permission.PermissionsProperties permissionProperties, boolean viewConfigurationPermissionEnabled, boolean isProjectLevelBuildResourcesEnabled)
static void
PermissionHelper. addPermissionsToList(@NotNull List<String> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull List<com.atlassian.bamboo.specs.api.model.permission.UserPermissionProperties> userPermissionProperties, @NotNull List<com.atlassian.bamboo.specs.api.model.permission.GroupPermissionProperties> groupPermissionProperties, @NotNull com.atlassian.bamboo.specs.api.model.permission.LoggedInUserPermissionsProperties loggedInUserPermissionsProperties, @NotNull com.atlassian.bamboo.specs.api.model.permission.AnonymousUserPermissionsProperties anonymousUserPermissionsProperties, boolean viewConfigurationPermissionEnabled, boolean isProjectLevelBuildResourcesEnabled)
static void
PermissionHelper. addPermissionsToList(@NotNull List<String> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull List<com.atlassian.bamboo.specs.api.model.permission.UserPermissionProperties> userPermissionProperties, @NotNull List<com.atlassian.bamboo.specs.api.model.permission.GroupPermissionProperties> groupPermissionProperties, @NotNull com.atlassian.bamboo.specs.api.model.permission.LoggedInUserPermissionsProperties loggedInUserPermissionsProperties, @NotNull com.atlassian.bamboo.specs.api.model.permission.AnonymousUserPermissionsProperties anonymousUserPermissionsProperties, boolean viewConfigurationPermissionEnabled, boolean isProjectLevelBuildResourcesEnabled)
static List<String>
PermissionHelper. createPermissionsForAnonymousUser(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, com.atlassian.bamboo.specs.api.model.permission.AnonymousUserPermissionsProperties anonymousUserPermissionProperties)
static List<String>
PermissionHelper. createPermissionsForAnonymousUser(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, com.atlassian.bamboo.specs.api.model.permission.AnonymousUserPermissionsProperties anonymousUserPermissionProperties)
static List<String>
PermissionHelper. createPermissionsForGroups(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, List<com.atlassian.bamboo.specs.api.model.permission.GroupPermissionProperties> groupPermissionsList, boolean viewConfigurationSupported, boolean isProjectLevelBuildResourcesEnabled)
static List<String>
PermissionHelper. createPermissionsForGroups(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, List<com.atlassian.bamboo.specs.api.model.permission.GroupPermissionProperties> groupPermissionsList, boolean viewConfigurationSupported, boolean isProjectLevelBuildResourcesEnabled)
static List<String>
PermissionHelper. createPermissionsForLoggedInUser(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, com.atlassian.bamboo.specs.api.model.permission.LoggedInUserPermissionsProperties loggedInUserPermissionProperties, boolean viewConfigurationSupported, boolean isProjectLevelBuildResourcesEnabled)
static List<String>
PermissionHelper. createPermissionsForLoggedInUser(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, com.atlassian.bamboo.specs.api.model.permission.LoggedInUserPermissionsProperties loggedInUserPermissionProperties, boolean viewConfigurationSupported, boolean isProjectLevelBuildResourcesEnabled)
static List<String>
PermissionHelper. createPermissionsForUsers(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, List<com.atlassian.bamboo.specs.api.model.permission.UserPermissionProperties> userPermissionsList, boolean viewConfigurationSupported, boolean isProjectLevelBuildResourcesEnabled)
static List<String>
PermissionHelper. createPermissionsForUsers(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, List<com.atlassian.bamboo.specs.api.model.permission.UserPermissionProperties> userPermissionsList, boolean viewConfigurationSupported, boolean isProjectLevelBuildResourcesEnabled)
protected static Collection<BambooPermission>
PermissionHelper. toEffectiveBambooPermissions(@NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull Collection<com.atlassian.bamboo.specs.api.builders.permission.PermissionType> permissionTypes, boolean viewConfigurationSupported, boolean isProjectLevelBuildResourcesEnabled)
protected static Collection<BambooPermission>
PermissionHelper. toEffectiveBambooPermissions(@NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull Collection<com.atlassian.bamboo.specs.api.builders.permission.PermissionType> permissionTypes, boolean viewConfigurationSupported, boolean isProjectLevelBuildResourcesEnabled)
-
Uses of BambooPermission in com.atlassian.bamboo.configuration.repository
Method parameters in com.atlassian.bamboo.configuration.repository with type arguments of type BambooPermission Modifier and Type Method Description @NotNull Map<String,String>
EditRepository. getEditablePermissions(@NotNull Map<BambooPermission,String> permissionLabels)
@NotNull Map<String,String>
EditRepositoryImpl. getEditablePermissions(@NotNull Map<BambooPermission,String> permissionLabels)
-
Uses of BambooPermission in com.atlassian.bamboo.deployments.environments
Methods in com.atlassian.bamboo.deployments.environments that return types with arguments of type BambooPermission Modifier and Type Method Description @NotNull List<BambooPermission>
DefaultEnvironmentPermissionsService. getAnonymousPermissionsForEnvironment(long environmentId)
@NotNull List<BambooPermission>
EnvironmentPermissionsService. getAnonymousPermissionsForEnvironment(long environmentId)
@NotNull List<BambooPermission>
DefaultEnvironmentPermissionsService. getGroupPermissionsForEnvironment(long environmentId, @NotNull String groupName)
@NotNull List<BambooPermission>
EnvironmentPermissionsService. getGroupPermissionsForEnvironment(long environmentId, @NotNull String groupName)
@NotNull List<BambooPermission>
DefaultEnvironmentPermissionsService. getLoggedInPermissionsForEnvironment(long environmentId)
@NotNull List<BambooPermission>
EnvironmentPermissionsService. getLoggedInPermissionsForEnvironment(long environmentId)
@NotNull List<BambooPermission>
DefaultEnvironmentPermissionsService. getUserPermissionsForEnvironment(long environmentId, @NotNull String username)
@NotNull List<BambooPermission>
EnvironmentPermissionsService. getUserPermissionsForEnvironment(long environmentId, @NotNull String username)
@NotNull Collection<BambooPermission>
DefaultEnvironmentPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
EnvironmentPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.@NotNull Collection<BambooPermission>
DefaultEnvironmentPermissionsService. supportedPermissions()
@NotNull Collection<BambooPermission>
EnvironmentPermissionsService. supportedPermissions()
Collection of permissions configurable for environments.Methods in com.atlassian.bamboo.deployments.environments with parameters of type BambooPermission Modifier and Type Method Description @NotNull Collection<BambooPermission>
DefaultEnvironmentPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
EnvironmentPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.Method parameters in com.atlassian.bamboo.deployments.environments with type arguments of type BambooPermission Modifier and Type Method Description boolean
DefaultEnvironmentPermissionsService. addGroupPermissionsToEnvironment(long environmentId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToAdd)
boolean
EnvironmentPermissionsService. addGroupPermissionsToEnvironment(long environmentId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultEnvironmentPermissionsService. addLoggedInPermissionsToEnvironment(long environmentId, @NotNull List<BambooPermission> permissionsToAdd)
boolean
EnvironmentPermissionsService. addLoggedInPermissionsToEnvironment(long environmentId, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultEnvironmentPermissionsService. addUserPermissionsToEnvironment(long environmentId, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
EnvironmentPermissionsService. addUserPermissionsToEnvironment(long environmentId, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultEnvironmentPermissionsService. removeGroupPermissionsFromEnvironment(long environmentId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToRemove)
boolean
EnvironmentPermissionsService. removeGroupPermissionsFromEnvironment(long environmentId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultEnvironmentPermissionsService. removeLoggedInPermissionsFromEnvironment(long environmentId, @NotNull List<BambooPermission> permissionsToRemove)
boolean
EnvironmentPermissionsService. removeLoggedInPermissionsFromEnvironment(long environmentId, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultEnvironmentPermissionsService. removeUserPermissionsFromEnvironment(long environmentId, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
boolean
EnvironmentPermissionsService. removeUserPermissionsFromEnvironment(long environmentId, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
-
Uses of BambooPermission in com.atlassian.bamboo.deployments.projects
Methods in com.atlassian.bamboo.deployments.projects that return types with arguments of type BambooPermission Modifier and Type Method Description @NotNull List<BambooPermission>
DefaultDeploymentProjectPermissionsService. getAnonymousPermissionsForDeploymentProject(long deploymentProjectId)
@NotNull List<BambooPermission>
DeploymentProjectPermissionsService. getAnonymousPermissionsForDeploymentProject(long deploymentProjectId)
@NotNull List<BambooPermission>
DefaultDeploymentProjectPermissionsService. getGroupPermissionsForDeploymentProject(long deploymentProjectId, @NotNull String groupName)
@NotNull List<BambooPermission>
DeploymentProjectPermissionsService. getGroupPermissionsForDeploymentProject(long deploymentProjectId, @NotNull String groupName)
@NotNull List<BambooPermission>
DefaultDeploymentProjectPermissionsService. getLoggedInPermissionsForDeploymentProject(long deploymentProjectId)
@NotNull List<BambooPermission>
DeploymentProjectPermissionsService. getLoggedInPermissionsForDeploymentProject(long deploymentProjectId)
@NotNull List<BambooPermission>
DefaultDeploymentProjectPermissionsService. getUserPermissionsForDeploymentProject(long deploymentProjectId, @NotNull String username)
@NotNull List<BambooPermission>
DeploymentProjectPermissionsService. getUserPermissionsForDeploymentProject(long deploymentProjectId, @NotNull String username)
@NotNull Collection<BambooPermission>
DefaultDeploymentProjectPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
DeploymentProjectPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.@NotNull Collection<BambooPermission>
DefaultDeploymentProjectPermissionsService. supportedPermissions()
@NotNull Collection<BambooPermission>
DeploymentProjectPermissionsService. supportedPermissions()
Collection of permissions configurable for deployment projects.Methods in com.atlassian.bamboo.deployments.projects with parameters of type BambooPermission Modifier and Type Method Description @NotNull Collection<BambooPermission>
DefaultDeploymentProjectPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
DeploymentProjectPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.Method parameters in com.atlassian.bamboo.deployments.projects with type arguments of type BambooPermission Modifier and Type Method Description boolean
DefaultDeploymentProjectPermissionsService. addGroupPermissionsToDeploymentProject(long deploymentProjectId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DeploymentProjectPermissionsService. addGroupPermissionsToDeploymentProject(long deploymentProjectId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultDeploymentProjectPermissionsService. addLoggedInPermissionsToDeploymentProject(long deploymentProjectId, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DeploymentProjectPermissionsService. addLoggedInPermissionsToDeploymentProject(long deploymentProjectId, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultDeploymentProjectPermissionsService. addUserPermissionsToDeploymentProject(long deploymentProjectId, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DeploymentProjectPermissionsService. addUserPermissionsToDeploymentProject(long deploymentProjectId, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultDeploymentProjectPermissionsService. removeGroupPermissionsFromDeploymentProject(long deploymentProjectId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DeploymentProjectPermissionsService. removeGroupPermissionsFromDeploymentProject(long deploymentProjectId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultDeploymentProjectPermissionsService. removeLoggedInPermissionsFromDeploymentProject(long deploymentProjectId, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DeploymentProjectPermissionsService. removeLoggedInPermissionsFromDeploymentProject(long deploymentProjectId, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultDeploymentProjectPermissionsService. removeUserPermissionsFromDeploymentProject(long deploymentProjectId, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DeploymentProjectPermissionsService. removeUserPermissionsFromDeploymentProject(long deploymentProjectId, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
-
Uses of BambooPermission in com.atlassian.bamboo.plan
Methods in com.atlassian.bamboo.plan that return types with arguments of type BambooPermission Modifier and Type Method Description @NotNull List<BambooPermission>
DefaultPlanPermissionsService. getAnonymousPermissionsForPlan(@NotNull String planKey)
@NotNull List<BambooPermission>
PlanPermissionsService. getAnonymousPermissionsForPlan(@NotNull String planKey)
@NotNull List<BambooPermission>
DefaultPlanPermissionsService. getGroupPermissionsForPlan(@NotNull String planKey, @NotNull String groupName)
@NotNull List<BambooPermission>
PlanPermissionsService. getGroupPermissionsForPlan(@NotNull String planKey, @NotNull String groupName)
@NotNull List<BambooPermission>
DefaultPlanPermissionsService. getLoggedInPermissionsForPlan(@NotNull String planKey)
@NotNull List<BambooPermission>
PlanPermissionsService. getLoggedInPermissionsForPlan(@NotNull String planKey)
@NotNull List<BambooPermission>
DefaultPlanPermissionsService. getUserPermissionsForPlan(@NotNull String planKey, @NotNull String username)
@NotNull List<BambooPermission>
PlanPermissionsService. getUserPermissionsForPlan(@NotNull String planKey, @NotNull String username)
@NotNull Collection<BambooPermission>
DefaultPlanPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
PlanPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.@NotNull Collection<BambooPermission>
DefaultPlanPermissionsService. supportedPermissions()
@NotNull Collection<BambooPermission>
PlanPermissionsService. supportedPermissions()
Collection of permissions configurable for plans.Methods in com.atlassian.bamboo.plan with parameters of type BambooPermission Modifier and Type Method Description @NotNull Collection<BambooPermission>
DefaultPlanPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
PlanPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.Method parameters in com.atlassian.bamboo.plan with type arguments of type BambooPermission Modifier and Type Method Description boolean
DefaultPlanPermissionsService. addGroupPermissionsToPlan(@NotNull String planKey, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToAdd)
boolean
PlanPermissionsService. addGroupPermissionsToPlan(@NotNull String planKey, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultPlanPermissionsService. addLoggedInPermissionsToPlan(@NotNull String planKey, @NotNull List<BambooPermission> permissionsToAdd)
boolean
PlanPermissionsService. addLoggedInPermissionsToPlan(@NotNull String planKey, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultPlanPermissionsService. addUserPermissionsToPlan(@NotNull String planKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
PlanPermissionsService. addUserPermissionsToPlan(@NotNull String planKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultPlanPermissionsService. removeGroupPermissionsFromPlan(@NotNull String planKey, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToRemove)
boolean
PlanPermissionsService. removeGroupPermissionsFromPlan(@NotNull String planKey, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultPlanPermissionsService. removeLoggedInPermissionsFromPlan(@NotNull String planKey, @NotNull List<BambooPermission> permissionsToRemove)
boolean
PlanPermissionsService. removeLoggedInPermissionsFromPlan(@NotNull String planKey, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultPlanPermissionsService. removeUserPermissionsFromPlan(@NotNull String planKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
boolean
PlanPermissionsService. removeUserPermissionsFromPlan(@NotNull String planKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
-
Uses of BambooPermission in com.atlassian.bamboo.plugins.rest.common
Methods in com.atlassian.bamboo.plugins.rest.common with parameters of type BambooPermission Modifier and Type Method Description static void
RestHelper. assertGlobalPermission(@NotNull BambooPermission permission)
Asserts that current user has the specified permission.static void
RestHelper. assertGlobalPermission(@NotNull BambooPermission permission, @NotNull String errorMessage)
Asserts that current user has the specified permission.void
RestHelperWrapper. assertGlobalPermission(@NotNull BambooPermission permission)
void
RestHelperWrapper. assertGlobalPermission(@NotNull BambooPermission permission, @NotNull String errorMessage)
static void
RestHelper. assertPlanPermission(@NotNull BambooPermission permission, @NotNull PlanKey planKey, BambooPermissionManager bambooPermissionManager)
Check user has provided or ADMINISTRATION permission on given plan -
Uses of BambooPermission in com.atlassian.bamboo.plugins.rest.permission
Method parameters in com.atlassian.bamboo.plugins.rest.permission with type arguments of type BambooPermission Modifier and Type Method Description boolean
DeploymentProjectPermissionsResource. addGroupPermissions(String id, String group, List<BambooPermission> permissionsToAdd)
boolean
EnvironmentPermissionsResource. addGroupPermissions(String id, String group, List<BambooPermission> permissionsToAdd)
boolean
GlobalPermissionsResource. addGroupPermissions(String ignore, String group, List<BambooPermission> permissionsToAdd)
boolean
PlanPermissionsResource. addGroupPermissions(String planKey, String group, List<BambooPermission> permissionsToAdd)
boolean
ProjectPermissionsResource. addGroupPermissions(String projectKey, String group, List<BambooPermission> permissionsToAdd)
boolean
ProjectPlanPermissionsResource. addGroupPermissions(String projectKey, String group, List<BambooPermission> permissionsToAdd)
boolean
RepositoryPermissionsResource. addGroupPermissions(String id, String group, List<BambooPermission> permissionsToAdd)
boolean
DeploymentProjectPermissionsResource. addLoggedInPermissions(String id, List<BambooPermission> permissionsToAdd)
boolean
EnvironmentPermissionsResource. addLoggedInPermissions(String id, List<BambooPermission> permissionsToAdd)
boolean
GlobalPermissionsResource. addLoggedInPermissions(String ignore, List<BambooPermission> permissionsToAdd)
boolean
PlanPermissionsResource. addLoggedInPermissions(String planKey, List<BambooPermission> permissionsToAdd)
boolean
ProjectPermissionsResource. addLoggedInPermissions(String projectKey, List<BambooPermission> permissionsToAdd)
boolean
ProjectPlanPermissionsResource. addLoggedInPermissions(String projectKey, List<BambooPermission> permissionsToAdd)
boolean
RepositoryPermissionsResource. addLoggedInPermissions(String id, List<BambooPermission> permissionsToAdd)
boolean
DeploymentProjectPermissionsResource. addUserPermissions(String id, String username, List<BambooPermission> permissionsToAdd)
boolean
EnvironmentPermissionsResource. addUserPermissions(String id, String username, List<BambooPermission> permissionsToAdd)
boolean
GlobalPermissionsResource. addUserPermissions(String ignore, String username, List<BambooPermission> permissionsToAdd)
boolean
PlanPermissionsResource. addUserPermissions(String planKey, String username, List<BambooPermission> permissionsToAdd)
boolean
ProjectPermissionsResource. addUserPermissions(String projectKey, String username, List<BambooPermission> permissionsToAdd)
boolean
ProjectPlanPermissionsResource. addUserPermissions(String projectKey, String username, List<BambooPermission> permissionsToAdd)
boolean
RepositoryPermissionsResource. addUserPermissions(String id, String username, List<BambooPermission> permissionsToAdd)
boolean
DeploymentProjectPermissionsResource. removeGroupPermissions(String id, String group, List<BambooPermission> permissionsToRemove)
boolean
EnvironmentPermissionsResource. removeGroupPermissions(String id, String group, List<BambooPermission> permissionsToRemove)
boolean
GlobalPermissionsResource. removeGroupPermissions(String ignore, String group, List<BambooPermission> permissionsToRemove)
boolean
PlanPermissionsResource. removeGroupPermissions(String planKey, String group, List<BambooPermission> permissionsToRemove)
boolean
ProjectPermissionsResource. removeGroupPermissions(String projectKey, String group, List<BambooPermission> permissionsToRemove)
boolean
ProjectPlanPermissionsResource. removeGroupPermissions(String projectKey, String group, List<BambooPermission> permissionsToRemove)
boolean
RepositoryPermissionsResource. removeGroupPermissions(String id, String group, List<BambooPermission> permissionsToRemove)
boolean
DeploymentProjectPermissionsResource. removeLoggedInPermissions(String id, List<BambooPermission> permissionsToRemove)
boolean
EnvironmentPermissionsResource. removeLoggedInPermissions(String id, List<BambooPermission> permissionsToRemove)
boolean
GlobalPermissionsResource. removeLoggedInPermissions(String ignore, List<BambooPermission> permissionsToRemove)
boolean
PlanPermissionsResource. removeLoggedInPermissions(String planKey, List<BambooPermission> permissionsToRemove)
boolean
ProjectPermissionsResource. removeLoggedInPermissions(String projectKey, List<BambooPermission> permissionsToRemove)
boolean
ProjectPlanPermissionsResource. removeLoggedInPermissions(String projectKey, List<BambooPermission> permissionsToRemove)
boolean
RepositoryPermissionsResource. removeLoggedInPermissions(String id, List<BambooPermission> permissionsToRemove)
boolean
DeploymentProjectPermissionsResource. removeUserPermissions(String id, String username, List<BambooPermission> permissionsToRemove)
boolean
EnvironmentPermissionsResource. removeUserPermissions(String id, String username, List<BambooPermission> permissionsToRemove)
boolean
GlobalPermissionsResource. removeUserPermissions(String ignore, String username, List<BambooPermission> permissionsToRemove)
boolean
PlanPermissionsResource. removeUserPermissions(String planKey, String username, List<BambooPermission> permissionsToRemove)
boolean
ProjectPermissionsResource. removeUserPermissions(String projectKey, String username, List<BambooPermission> permissionsToRemove)
boolean
ProjectPlanPermissionsResource. removeUserPermissions(String projectKey, String username, List<BambooPermission> permissionsToRemove)
boolean
RepositoryPermissionsResource. removeUserPermissions(String id, String username, List<BambooPermission> permissionsToRemove)
-
Uses of BambooPermission in com.atlassian.bamboo.project
Methods in com.atlassian.bamboo.project that return types with arguments of type BambooPermission Modifier and Type Method Description List<BambooPermission>
DefaultProjectPermissionsService. getAnonymousPermissions(@NotNull String projectKey)
List<BambooPermission>
ProjectPermissionsService. getAnonymousPermissions(@NotNull String projectKey)
@NotNull List<BambooPermission>
DefaultProjectPlanPermissionsService. getAnonymousPermissionsForProjectPlan(@NotNull String projectKey)
@NotNull List<BambooPermission>
ProjectPlanPermissionsService. getAnonymousPermissionsForProjectPlan(@NotNull String projectKey)
@NotNull List<BambooPermission>
DefaultProjectPermissionsService. getGroupPermissionsForProject(@NotNull String projectKey, @NotNull String group)
@NotNull List<BambooPermission>
ProjectPermissionsService. getGroupPermissionsForProject(@NotNull String projectKey, @NotNull String group)
@NotNull List<BambooPermission>
DefaultProjectPlanPermissionsService. getGroupPermissionsForProjectPlan(@NotNull String projectKey, @NotNull String group)
@NotNull List<BambooPermission>
ProjectPlanPermissionsService. getGroupPermissionsForProjectPlan(@NotNull String projectKey, @NotNull String group)
@NotNull List<BambooPermission>
DefaultProjectPermissionsService. getLoggedInPermissionsForProject(@NotNull String projectKey)
@NotNull List<BambooPermission>
ProjectPermissionsService. getLoggedInPermissionsForProject(@NotNull String projectKey)
@NotNull List<BambooPermission>
DefaultProjectPlanPermissionsService. getLoggedInPermissionsForProjectPlan(@NotNull String projectKey)
@NotNull List<BambooPermission>
ProjectPlanPermissionsService. getLoggedInPermissionsForProjectPlan(@NotNull String projectKey)
@NotNull List<BambooPermission>
DefaultProjectPermissionsService. getUserPermissionsForProject(@NotNull String projectKey, @NotNull String username)
@NotNull List<BambooPermission>
ProjectPermissionsService. getUserPermissionsForProject(@NotNull String projectKey, @NotNull String username)
@NotNull List<BambooPermission>
DefaultProjectPlanPermissionsService. getUserPermissionsForProjectPlan(@NotNull String projectKey, @NotNull String username)
@NotNull List<BambooPermission>
ProjectPlanPermissionsService. getUserPermissionsForProjectPlan(@NotNull String projectKey, @NotNull String username)
@NotNull Collection<BambooPermission>
DefaultProjectPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
DefaultProjectPlanPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
ProjectPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.@NotNull Collection<BambooPermission>
ProjectPlanPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.@NotNull Collection<BambooPermission>
DefaultProjectPermissionsService. supportedPermissions()
@NotNull Collection<BambooPermission>
DefaultProjectPlanPermissionsService. supportedPermissions()
@NotNull Collection<BambooPermission>
ProjectPermissionsService. supportedPermissions()
Collection of permissions configurable for projects.@NotNull Collection<BambooPermission>
ProjectPlanPermissionsService. supportedPermissions()
Collection of permissions configurable on projects to apply to all contained plans.Methods in com.atlassian.bamboo.project with parameters of type BambooPermission Modifier and Type Method Description @NotNull Collection<BambooPermission>
DefaultProjectPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
DefaultProjectPlanPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
ProjectPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.@NotNull Collection<BambooPermission>
ProjectPlanPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.Method parameters in com.atlassian.bamboo.project with type arguments of type BambooPermission Modifier and Type Method Description boolean
DefaultProjectPermissionsService. addGroupPermissionsToProject(@NotNull String projectKey, @NotNull String group, @NotNull List<BambooPermission> permissionsToAdd)
boolean
ProjectPermissionsService. addGroupPermissionsToProject(@NotNull String projectKey, @NotNull String group, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultProjectPlanPermissionsService. addGroupPermissionsToProjectPlan(@NotNull String projectKey, @NotNull String group, @NotNull List<BambooPermission> permissionsToAdd)
boolean
ProjectPlanPermissionsService. addGroupPermissionsToProjectPlan(@NotNull String projectKey, @NotNull String group, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultProjectPermissionsService. addLoggedInPermissionsToProject(@NotNull String projectKey, @NotNull List<BambooPermission> permissionsToAdd)
boolean
ProjectPermissionsService. addLoggedInPermissionsToProject(@NotNull String projectKey, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultProjectPlanPermissionsService. addLoggedInPermissionsToProjectPlan(@NotNull String projectKey, @NotNull List<BambooPermission> permissionsToAdd)
boolean
ProjectPlanPermissionsService. addLoggedInPermissionsToProjectPlan(@NotNull String projectKey, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultProjectPermissionsService. addUserPermissionsToProject(@NotNull String projectKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
ProjectPermissionsService. addUserPermissionsToProject(@NotNull String projectKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultProjectPlanPermissionsService. addUserPermissionsToProjectPlan(@NotNull String projectKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
ProjectPlanPermissionsService. addUserPermissionsToProjectPlan(@NotNull String projectKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultProjectPermissionsService. removeGroupPermissionsFromProject(@NotNull String projectKey, @NotNull String group, @NotNull List<BambooPermission> permissionsToRemove)
boolean
ProjectPermissionsService. removeGroupPermissionsFromProject(@NotNull String projectKey, @NotNull String group, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultProjectPlanPermissionsService. removeGroupPermissionsFromProjectPlan(@NotNull String projectKey, @NotNull String group, @NotNull List<BambooPermission> permissionsToRemove)
boolean
ProjectPlanPermissionsService. removeGroupPermissionsFromProjectPlan(@NotNull String projectKey, @NotNull String group, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultProjectPermissionsService. removeLoggedInPermissionsFromProject(@NotNull String projectKey, @NotNull List<BambooPermission> permissionsToRemove)
boolean
ProjectPermissionsService. removeLoggedInPermissionsFromProject(@NotNull String projectKey, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultProjectPlanPermissionsService. removeLoggedInPermissionsFromProjectPlan(@NotNull String projectKey, @NotNull List<BambooPermission> permissionsToRemove)
boolean
ProjectPlanPermissionsService. removeLoggedInPermissionsFromProjectPlan(@NotNull String projectKey, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultProjectPermissionsService. removeUserPermissionsFromProject(@NotNull String projectKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
boolean
ProjectPermissionsService. removeUserPermissionsFromProject(@NotNull String projectKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultProjectPlanPermissionsService. removeUserPermissionsFromProjectPlan(@NotNull String projectKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
boolean
ProjectPlanPermissionsService. removeUserPermissionsFromProjectPlan(@NotNull String projectKey, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
-
Uses of BambooPermission in com.atlassian.bamboo.repository
Methods in com.atlassian.bamboo.repository that return types with arguments of type BambooPermission Modifier and Type Method Description @NotNull List<BambooPermission>
DefaultRepositoryPermissionsService. getGroupPermissionsForRepository(long repositoryId, @NotNull String groupName)
@NotNull List<BambooPermission>
RepositoryPermissionsService. getGroupPermissionsForRepository(long repositoryId, @NotNull String group)
@NotNull List<BambooPermission>
DefaultRepositoryPermissionsService. getLoggedInPermissionsForRepository(long repositoryId)
@NotNull List<BambooPermission>
RepositoryPermissionsService. getLoggedInPermissionsForRepository(long repositoryId)
@NotNull List<BambooPermission>
DefaultRepositoryPermissionsService. getUserPermissionsForRepository(long repositoryId, @NotNull String username)
@NotNull List<BambooPermission>
RepositoryPermissionsService. getUserPermissionsForRepository(long repositoryId, @NotNull String username)
@NotNull Collection<BambooPermission>
DefaultRepositoryPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
RepositoryPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.@NotNull Collection<BambooPermission>
DefaultRepositoryPermissionsService. supportedPermissions()
@NotNull Collection<BambooPermission>
RepositoryPermissionsService. supportedPermissions()
Collection of permissions configurable for linked repositories.Methods in com.atlassian.bamboo.repository with parameters of type BambooPermission Modifier and Type Method Description @NotNull Collection<BambooPermission>
DefaultRepositoryPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
RepositoryPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.Method parameters in com.atlassian.bamboo.repository with type arguments of type BambooPermission Modifier and Type Method Description boolean
DefaultRepositoryPermissionsService. addGroupPermissionsToRepository(long repositoryId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToAdd)
boolean
RepositoryPermissionsService. addGroupPermissionsToRepository(long repositoryId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultRepositoryPermissionsService. addLoggedInPermissionsToRepository(long repositoryId, @NotNull List<BambooPermission> permissionsToAdd)
boolean
RepositoryPermissionsService. addLoggedInPermissionsToRepository(long repositoryId, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultRepositoryPermissionsService. addUserPermissionsToRepository(long repositoryId, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
RepositoryPermissionsService. addUserPermissionsToRepository(long repositoryId, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultRepositoryPermissionsService. removeGroupPermissionsFromRepository(long repositoryId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToRemove)
boolean
RepositoryPermissionsService. removeGroupPermissionsFromRepository(long repositoryId, @NotNull String groupName, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultRepositoryPermissionsService. removeLoggedInPermissionsFromRepository(long repositoryId, @NotNull List<BambooPermission> permissionsToRemove)
boolean
RepositoryPermissionsService. removeLoggedInPermissionsFromRepository(long repositoryId, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultRepositoryPermissionsService. removeUserPermissionsFromRepository(long repositoryId, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
boolean
RepositoryPermissionsService. removeUserPermissionsFromRepository(long repositoryId, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
-
Uses of BambooPermission in com.atlassian.bamboo.rest.model.admin.permission
Methods in com.atlassian.bamboo.rest.model.admin.permission that return BambooPermission Modifier and Type Method Description @NotNull BambooPermission
RestGlobalPermission.PermissionType. getBambooPermission()
-
Uses of BambooPermission in com.atlassian.bamboo.security
Fields in com.atlassian.bamboo.security with type parameters of type BambooPermission Modifier and Type Field Description static com.google.common.collect.Ordering<BambooPermission>
PermissionsServiceUtils. PERMISSIONS_ORDERING
Globally-consistent ordering of Bamboo permissions.Methods in com.atlassian.bamboo.security that return types with arguments of type BambooPermission Modifier and Type Method Description @NotNull Collection<BambooPermission>
DefaultGlobalPermissionsService. editablePermissions()
@NotNull Collection<BambooPermission>
GlobalPermissionsService. editablePermissions()
Collection of global permissions which are editable by current user.static @NotNull Set<BambooPermission>
PermissionsServiceUtils. extractDependencies(com.google.common.collect.Multimap<BambooPermission,BambooPermission> permissionDependencies, Collection<BambooPermission> supportedPermissions, BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.static @NotNull com.google.common.collect.ImmutableMultimap<BambooPermission,BambooPermission>
PermissionsServiceUtils. findMissingDependencies(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies.static @NotNull com.google.common.collect.ImmutableMultimap<BambooPermission,BambooPermission>
PermissionsServiceUtils. findMissingDependencies(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies.@NotNull List<BambooPermission>
DefaultGlobalPermissionsService. getAnonymousGlobalPermissions()
@NotNull List<BambooPermission>
GlobalPermissionsService. getAnonymousGlobalPermissions()
@NotNull List<BambooPermission>
DefaultGlobalPermissionsService. getGroupGlobalPermissions(@NotNull String groupName)
@NotNull List<BambooPermission>
GlobalPermissionsService. getGroupGlobalPermissions(@NotNull String groupName)
@NotNull List<BambooPermission>
DefaultGlobalPermissionsService. getLoggedInGlobalPermissions()
@NotNull List<BambooPermission>
GlobalPermissionsService. getLoggedInGlobalPermissions()
static @NotNull Collection<BambooPermission>
PermissionsServiceUtils. getPermissionsAndDependencies(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Return a collection of permissions with all missing dependencies added.@NotNull List<BambooPermission>
DefaultGlobalPermissionsService. getUserGlobalPermissions(@NotNull String username)
@NotNull List<BambooPermission>
GlobalPermissionsService. getUserGlobalPermissions(@NotNull String username)
@NotNull Collection<BambooPermission>
DefaultGlobalPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
GlobalPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.@NotNull Collection<BambooPermission>
DefaultGlobalPermissionsService. supportedPermissions()
@NotNull Collection<BambooPermission>
GlobalPermissionsService. supportedPermissions()
Collection of permissions configurable on application level.Methods in com.atlassian.bamboo.security with parameters of type BambooPermission Modifier and Type Method Description static @NotNull Set<BambooPermission>
PermissionsServiceUtils. extractDependencies(com.google.common.collect.Multimap<BambooPermission,BambooPermission> permissionDependencies, Collection<BambooPermission> supportedPermissions, BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.@NotNull Collection<String>
BambooPermissionManagerImpl. getGroupsWithPermission(BambooPermission permission)
@NotNull Collection<String>
BambooPermissionManagerImpl. getUsersWithPermission(BambooPermission permission)
com.google.common.base.Predicate<Object>
BambooPermissionManager. hasPermission(@NotNull BambooPermission permission, @Nullable org.acegisecurity.Authentication authentication)
Predicate for {link #hasPermission(permission, object, authentication)}com.google.common.base.Predicate<Object>
BambooPermissionManagerImpl. hasPermission(@NotNull BambooPermission permission, @Nullable org.acegisecurity.Authentication authentication)
boolean
DefaultScopesRequestCacheDelegate. hasPermission(BambooPermission permission)
boolean
ScopesRequestCacheDelegate. hasPermission(BambooPermission permission)
boolean
BambooCachingPermissionManagerFacade. hasPlanPermission(BambooPermission permission, long planId)
Return true if currently authenticated principal has a permission to planboolean
BambooCachingPermissionManagerFacade. hasPlanPermission(BambooPermission permission, PlanKey planKey)
boolean
BambooCachingPermissionManagerFacadeImpl. hasPlanPermission(BambooPermission permission, long planId)
boolean
BambooCachingPermissionManagerFacadeImpl. hasPlanPermission(BambooPermission permission, PlanKey planKey)
@NotNull Collection<BambooPermission>
DefaultGlobalPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
@NotNull Collection<BambooPermission>
GlobalPermissionsService. permissionDependencies(@NotNull BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.Method parameters in com.atlassian.bamboo.security with type arguments of type BambooPermission Modifier and Type Method Description boolean
DefaultGlobalPermissionsService. addGroupGlobalPermissions(@NotNull String groupName, @NotNull List<BambooPermission> permissionsToAdd)
boolean
GlobalPermissionsService. addGroupGlobalPermissions(@NotNull String groupName, @NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultGlobalPermissionsService. addLoggedInGlobalPermissions(@NotNull List<BambooPermission> permissionsToAdd)
boolean
GlobalPermissionsService. addLoggedInGlobalPermissions(@NotNull List<BambooPermission> permissionsToAdd)
boolean
DefaultGlobalPermissionsService. addUserGlobalPermissions(@NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean
GlobalPermissionsService. addUserGlobalPermissions(@NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
static @NotNull Set<BambooPermission>
PermissionsServiceUtils. extractDependencies(com.google.common.collect.Multimap<BambooPermission,BambooPermission> permissionDependencies, Collection<BambooPermission> supportedPermissions, BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.static @NotNull Set<BambooPermission>
PermissionsServiceUtils. extractDependencies(com.google.common.collect.Multimap<BambooPermission,BambooPermission> permissionDependencies, Collection<BambooPermission> supportedPermissions, BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.static @NotNull Set<BambooPermission>
PermissionsServiceUtils. extractDependencies(com.google.common.collect.Multimap<BambooPermission,BambooPermission> permissionDependencies, Collection<BambooPermission> supportedPermissions, BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passedpermission
.static @NotNull com.google.common.collect.ImmutableMultimap<BambooPermission,BambooPermission>
PermissionsServiceUtils. findMissingDependencies(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies.static @NotNull com.google.common.collect.ImmutableMultimap<BambooPermission,BambooPermission>
PermissionsServiceUtils. findMissingDependencies(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies.static @NotNull com.google.common.collect.ImmutableMultimap<BambooPermission,BambooPermission>
PermissionsServiceUtils. findMissingDependencies(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies.static @NotNull Collection<BambooPermission>
PermissionsServiceUtils. getPermissionsAndDependencies(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Return a collection of permissions with all missing dependencies added.static @NotNull Collection<BambooPermission>
PermissionsServiceUtils. getPermissionsAndDependencies(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Return a collection of permissions with all missing dependencies added.static @NotNull Collection<BambooPermission>
PermissionsServiceUtils. getPermissionsAndDependencies(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Return a collection of permissions with all missing dependencies added.boolean
DefaultGlobalPermissionsService. removeGroupGlobalPermissions(@NotNull String groupName, @NotNull List<BambooPermission> permissionsToRemove)
boolean
GlobalPermissionsService. removeGroupGlobalPermissions(@NotNull String groupName, @NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultGlobalPermissionsService. removeLoggedInGlobalPermissions(@NotNull List<BambooPermission> permissionsToRemove)
boolean
GlobalPermissionsService. removeLoggedInGlobalPermissions(@NotNull List<BambooPermission> permissionsToRemove)
boolean
DefaultGlobalPermissionsService. removeUserGlobalPermissions(@NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
boolean
GlobalPermissionsService. removeUserGlobalPermissions(@NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
static void
PermissionsServiceUtils. validateDependenciesAfterGranting(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after granting new permissions.static void
PermissionsServiceUtils. validateDependenciesAfterGranting(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after granting new permissions.static void
PermissionsServiceUtils. validateDependenciesAfterGranting(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after granting new permissions.static <E extends Exception>
voidPermissionsServiceUtils. validateDependenciesAfterGranting(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull Function<BambooPermission,String> permissionNameFunction, @NotNull Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after granting new permissions.static <E extends Exception>
voidPermissionsServiceUtils. validateDependenciesAfterGranting(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull Function<BambooPermission,String> permissionNameFunction, @NotNull Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after granting new permissions.static <E extends Exception>
voidPermissionsServiceUtils. validateDependenciesAfterGranting(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull Function<BambooPermission,String> permissionNameFunction, @NotNull Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after granting new permissions.static void
PermissionsServiceUtils. validateDependenciesAfterRevoking(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after revoking permissions.static void
PermissionsServiceUtils. validateDependenciesAfterRevoking(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after revoking permissions.static void
PermissionsServiceUtils. validateDependenciesAfterRevoking(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after revoking permissions.static <E extends Exception>
voidPermissionsServiceUtils. validateDependenciesAfterRevoking(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull Function<BambooPermission,String> permissionNameFunction, @NotNull Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after revoking permissions.static <E extends Exception>
voidPermissionsServiceUtils. validateDependenciesAfterRevoking(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull Function<BambooPermission,String> permissionNameFunction, @NotNull Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after revoking permissions.static <E extends Exception>
voidPermissionsServiceUtils. validateDependenciesAfterRevoking(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull Function<BambooPermission,String> permissionNameFunction, @NotNull Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after revoking permissions.static void
PermissionsServiceUtils. validatePermissions(List<BambooPermission> permissions, Collection<BambooPermission> supportedPermissions, String entityName)
static void
PermissionsServiceUtils. validatePermissions(List<BambooPermission> permissions, Collection<BambooPermission> supportedPermissions, String entityName)
-
Uses of BambooPermission in com.atlassian.bamboo.security.acegi
Methods in com.atlassian.bamboo.security.acegi with parameters of type BambooPermission Modifier and Type Method Description static boolean
BambooAcegiSecurityUtils. isGranted(@NotNull org.acegisecurity.acls.Acl acl, @NotNull BambooPermission permission, @NotNull org.acegisecurity.acls.sid.Sid sid)
Check if permission is explicitly granted to the given sid on an ACL object. -
Uses of BambooPermission in com.atlassian.bamboo.security.acegi.acls
Fields in com.atlassian.bamboo.security.acegi.acls declared as BambooPermission Modifier and Type Field Description static BambooPermission
BambooPermission. ADMINISTRATION
static BambooPermission
BambooPermission. APPROVE_RELEASE
static BambooPermission
BambooPermission. BUILD
static BambooPermission
BambooPermission. CLONE
static BambooPermission
BambooPermission. CREATE
static BambooPermission
BambooPermission. CREATE_REPOSITORY
static BambooPermission
BambooPermission. DELETE
static BambooPermission
BambooPermission. READ
static BambooPermission
BambooPermission. RESTRICTEDADMINISTRATION
static BambooPermission
BambooPermission. SIGN_UP
static BambooPermission
BambooPermission. SOX_COMPLIANCE
static BambooPermission
BambooPermission. VIEW_CONFIGURATION
static BambooPermission
BambooPermission. WRITE
Fields in com.atlassian.bamboo.security.acegi.acls with type parameters of type BambooPermission Modifier and Type Field Description static Set<BambooPermission>
BambooPermission. ALL_PERMISSIONS
static com.google.common.collect.ImmutableList<BambooPermission>
BambooPermission. PLAN_RELATED_PERMISSIONS
Deprecated.Methods in com.atlassian.bamboo.security.acegi.acls that return BambooPermission Modifier and Type Method Description static BambooPermission
BambooPermission. convertToBambooPermission(org.acegisecurity.acls.Permission permission)
Methods in com.atlassian.bamboo.security.acegi.acls that return types with arguments of type BambooPermission Modifier and Type Method Description List<BambooPermission>
BambooAclHelper. getAnonymousPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions)
List<BambooPermission>
BambooAclHelper. getGroupPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String group, @NotNull Collection<BambooPermission> supportedPermissions)
List<BambooPermission>
BambooAclHelper. getLoggedInPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions)
static @NotNull com.google.common.collect.ImmutableList<BambooPermission>
BambooPermission. getPlanPermissionsList()
Deprecated.since 6.2 usePlanPermissionsService.supportedPermissions()
List<BambooPermission>
BambooAclHelper. getUserPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String username, @NotNull Collection<BambooPermission> supportedPermissions)
Methods in com.atlassian.bamboo.security.acegi.acls with parameters of type BambooPermission Modifier and Type Method Description void
AclEntriesStatistics.AclEntryStatistics. put(BambooPermission permission, Long count)
void
AclEntriesStatistics. put(String clazz, BambooPermission permission, Long count)
Method parameters in com.atlassian.bamboo.security.acegi.acls with type arguments of type BambooPermission Modifier and Type Method Description void
BambooAclUpdateHelper. addPermissionsToAclForCurrentUser(@NotNull org.acegisecurity.acls.MutableAcl acl, @NotNull List<BambooPermission> permissions)
Adds the givenpermissions
for the currently logged in user to theacl
entry.List<BambooPermission>
BambooAclHelper. getAnonymousPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions)
List<BambooPermission>
BambooAclHelper. getGroupPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String group, @NotNull Collection<BambooPermission> supportedPermissions)
List<BambooPermission>
BambooAclHelper. getLoggedInPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions)
List<BambooPermission>
BambooAclHelper. getUserPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String username, @NotNull Collection<BambooPermission> supportedPermissions)
Iterable<String>
BambooAclHelper. listGroupsWithPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions)
Iterable<String>
BambooAclHelper. listUsersWithPermissions(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions)
-
Uses of BambooPermission in com.atlassian.bamboo.testutils.backdoor
Methods in com.atlassian.bamboo.testutils.backdoor that return types with arguments of type BambooPermission Modifier and Type Method Description @NotNull List<BambooPermission>
GlobalPermissionControl. getGroupPermissions(@NotNull TestGroup group)
Get current global group permissions.@NotNull List<BambooPermission>
GlobalPermissionControl. getRolePermissions(@NotNull BambooRole role)
Get current global role permissions.@NotNull List<BambooPermission>
GlobalPermissionControl. getUserPermissions(@NotNull TestUser user)
Get current global user permissions.Methods in com.atlassian.bamboo.testutils.backdoor with parameters of type BambooPermission Modifier and Type Method Description TestUser
UserControl. createTemporaryUser(BambooPermission... permissions)
Creates user that will be deleted after test executionUserControl
UserControl. createTemporaryUser(TestUser user, BambooPermission... permissions)
Creates user with custom permissions that will be deleted after test executionvoid
GlobalPermissionControl. setLoggedUserPermission(BambooPermission... permissions)
Updates the Logged in users global permissions in the Bamboo instance.Method parameters in com.atlassian.bamboo.testutils.backdoor with type arguments of type BambooPermission Modifier and Type Method Description void
PermissionsControl. checkPlanPermissions(PlanKey planKey, BambooRole role, List<BambooPermission> has, List<BambooPermission> hasNot)
UserControl
UserControl. createTemporaryUser(TestUser user, Iterable<BambooPermission> permissions)
Creates user with custom permissions that will be deleted after test executionUserControl
UserControl. createUser(TestUser user, Iterable<BambooPermission> permissions)
Creates user with custom permissions that will not be deleted after test executionvoid
GlobalPermissionControl. setGroupPermissions(@NotNull TestGroup testGroup, @NotNull Collection<BambooPermission> permissions)
Set global permissions for a user group.void
GlobalPermissionControl. setLoggedUserPermission(Collection<BambooPermission> permissions)
Updates the Logged in users global permissions in the Bamboo instance.void
GlobalPermissionControl. setLoggedUserPermission(Stream<BambooPermission> permissions)
Updates the Logged in users global permissions in the Bamboo instance.void
GlobalPermissionControl. setRolePermissions(@NotNull BambooRole role, @NotNull Collection<BambooPermission> permissions)
Set global role permissions.void
GlobalPermissionControl. setUserPermissions(@NotNull TestUser testUser, @NotNull Collection<BambooPermission> permissions)
Set global permissions for a user. -
Uses of BambooPermission in com.atlassian.bamboo.testutils.user
Methods in com.atlassian.bamboo.testutils.user that return BambooPermission Modifier and Type Method Description BambooPermission
BambooTestPermission. getPermissionType()
Constructors in com.atlassian.bamboo.testutils.user with parameters of type BambooPermission Constructor Description BambooTestPermission(@NotNull BambooPrincipal principal, @NotNull BambooPermission permissionType)
BambooTestPermission(@NotNull BambooPrincipal principal, @Nullable BambooPermissionScope scope, @NotNull BambooPermission permissionType)
-
Uses of BambooPermission in com.atlassian.bamboo.util
Methods in com.atlassian.bamboo.util with parameters of type BambooPermission Modifier and Type Method Description static boolean
PermissionActionsUtils. isVisible(@NotNull BambooPermission p, @NotNull FeatureManager featureManager)
-