Uses of Class
com.atlassian.bamboo.security.acegi.acls.BambooPermission
Package
Description
-
Uses of BambooPermission in com.atlassian.bamboo.configuration
Modifier and TypeMethodDescriptionAbstractPermissionAction.getMinimalPermission()
Minimal permission to grant when adding new principal. -
Uses of BambooPermission in com.atlassian.bamboo.configuration.external.helpers
Modifier and TypeMethodDescriptionstatic BambooPermission
PermissionHelper.toBambooPermission
(com.atlassian.bamboo.specs.api.builders.permission.PermissionType permissionType) Modifier and TypeMethodDescriptionprotected 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) Modifier and TypeMethodDescriptionstatic com.atlassian.bamboo.specs.api.builders.permission.PermissionType
PermissionHelper.fromBambooPermission
(BambooPermission bambooPermission) Modifier and TypeMethodDescriptionstatic void
PermissionHelper.addPermissionsToList
(@NotNull List<String> permissions, @NotNull Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier, @NotNull com.atlassian.bamboo.specs.api.model.permission.PermissionsProperties permissionProperties, 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 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 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 isProjectLevelBuildResourcesEnabled) PermissionHelper.createPermissionsForAnonymousUser
(Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier, com.atlassian.bamboo.specs.api.model.permission.AnonymousUserPermissionsProperties anonymousUserPermissionProperties) PermissionHelper.createPermissionsForAnonymousUser
(Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier, com.atlassian.bamboo.specs.api.model.permission.AnonymousUserPermissionsProperties anonymousUserPermissionProperties) PermissionHelper.createPermissionsForGroups
(Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier, List<com.atlassian.bamboo.specs.api.model.permission.GroupPermissionProperties> groupPermissionsList, boolean isProjectLevelBuildResourcesEnabled) PermissionHelper.createPermissionsForGroups
(Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier, List<com.atlassian.bamboo.specs.api.model.permission.GroupPermissionProperties> groupPermissionsList, boolean isProjectLevelBuildResourcesEnabled) PermissionHelper.createPermissionsForLoggedInUser
(Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier, com.atlassian.bamboo.specs.api.model.permission.LoggedInUserPermissionsProperties loggedInUserPermissionProperties, boolean isProjectLevelBuildResourcesEnabled) PermissionHelper.createPermissionsForLoggedInUser
(Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier, com.atlassian.bamboo.specs.api.model.permission.LoggedInUserPermissionsProperties loggedInUserPermissionProperties, boolean isProjectLevelBuildResourcesEnabled) PermissionHelper.createPermissionsForUsers
(Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier, List<com.atlassian.bamboo.specs.api.model.permission.UserPermissionProperties> userPermissionsList, boolean isProjectLevelBuildResourcesEnabled) PermissionHelper.createPermissionsForUsers
(Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier, List<com.atlassian.bamboo.specs.api.model.permission.UserPermissionProperties> userPermissionsList, 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
Modifier and TypeMethodDescriptionEditRepository.getEditablePermissions
(@NotNull Map<BambooPermission, String> permissionLabels) EditRepositoryImpl.getEditablePermissions
(@NotNull Map<BambooPermission, String> permissionLabels) -
Uses of BambooPermission in com.atlassian.bamboo.deployments.environments
Modifier and TypeMethodDescription@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.Modifier and TypeMethodDescription@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
.Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescription@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.Modifier and TypeMethodDescription@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
.Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescription@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.Modifier and TypeMethodDescription@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
.Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionDeploymentProjectPermissionsResource.getAnonymousPermissions
(String id) EnvironmentPermissionsResource.getAnonymousPermissions
(String id) GlobalPermissionsResource.getAnonymousPermissions
(String key) PlanPermissionsResource.getAnonymousPermissions
(String planKey) ProjectPermissionsResource.getAnonymousPermissions
(String projectKey) ProjectPlanPermissionsResource.getAnonymousPermissions
(String projectKey) RepositoryPermissionsResource.getAnonymousPermissions
(String projectKey) DeploymentProjectPermissionsResource.getGroupPermissions
(String id, String group) EnvironmentPermissionsResource.getGroupPermissions
(String id, String group) GlobalPermissionsResource.getGroupPermissions
(String ignore, String group) PlanPermissionsResource.getGroupPermissions
(String planKey, String group) ProjectPermissionsResource.getGroupPermissions
(String projectKey, String group) ProjectPlanPermissionsResource.getGroupPermissions
(String projectKey, String group) RepositoryPermissionsResource.getGroupPermissions
(String id, String group) DeploymentProjectPermissionsResource.getLoggedInPermissions
(String id) EnvironmentPermissionsResource.getLoggedInPermissions
(String id) GlobalPermissionsResource.getLoggedInPermissions
(String ignore) PlanPermissionsResource.getLoggedInPermissions
(String planKey) ProjectPermissionsResource.getLoggedInPermissions
(String projectKey) ProjectPlanPermissionsResource.getLoggedInPermissions
(String projectKey) RepositoryPermissionsResource.getLoggedInPermissions
(String id) DeploymentProjectPermissionsResource.getUserPermissions
(String id, String username) EnvironmentPermissionsResource.getUserPermissions
(String id, String username) GlobalPermissionsResource.getUserPermissions
(String ignore, String username) PlanPermissionsResource.getUserPermissions
(String planKey, String username) ProjectPermissionsResource.getUserPermissions
(String projectKey, String username) ProjectPlanPermissionsResource.getUserPermissions
(String projectKey, String username) RepositoryPermissionsResource.getUserPermissions
(String id, String username) DeploymentProjectPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) EnvironmentPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) GlobalPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) PlanPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) ProjectPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) ProjectPlanPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) RepositoryPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) DeploymentProjectPermissionsResource.supportedPermissions()
EnvironmentPermissionsResource.supportedPermissions()
GlobalPermissionsResource.supportedPermissions()
PlanPermissionsResource.supportedPermissions()
ProjectPermissionsResource.supportedPermissions()
ProjectPlanPermissionsResource.supportedPermissions()
RepositoryPermissionsResource.supportedPermissions()
Modifier and TypeMethodDescriptionboolean
ProjectPermissionsResource.isPermissionVisible
(@NotNull BambooPermission permission) DeploymentProjectPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) EnvironmentPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) GlobalPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) PlanPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) ProjectPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) ProjectPlanPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) RepositoryPermissionsResource.permissionDependencies
(@NotNull BambooPermission permission) Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescriptionDefaultProjectPermissionsService.getAnonymousPermissions
(@NotNull String projectKey) 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.Modifier and TypeMethodDescription@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
.Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescription@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.Modifier and TypeMethodDescription@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
.Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescription@NotNull BambooPermission
RestGlobalPermission.PermissionType.getBambooPermission()
-
Uses of BambooPermission in com.atlassian.bamboo.security
Modifier and TypeFieldDescriptionstatic final com.google.common.collect.Ordering<BambooPermission>
PermissionsServiceUtils.PERMISSIONS_ORDERING
Globally-consistent ordering of Bamboo permissions.Modifier and TypeMethodDescription@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
(ImmutableMultimap<BambooPermission, BambooPermission> permissionDependencies, Collection<BambooPermission> supportedPermissions, BambooPermission permission) Obtain a collection of Bamboo permissions dependent on the passedpermission
.static @NotNull ImmutableMultimap<BambooPermission,
BambooPermission> PermissionsServiceUtils.findMissingDependencies
(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier) Validates permission dependencies.static @NotNull 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.Modifier and TypeMethodDescriptionstatic @NotNull Set<BambooPermission>
PermissionsServiceUtils.extractDependencies
(ImmutableMultimap<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) 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
.Modifier and TypeMethodDescriptionboolean
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
(ImmutableMultimap<BambooPermission, BambooPermission> permissionDependencies, Collection<BambooPermission> supportedPermissions, BambooPermission permission) Obtain a collection of Bamboo permissions dependent on the passedpermission
.static @NotNull Set<BambooPermission>
PermissionsServiceUtils.extractDependencies
(ImmutableMultimap<BambooPermission, BambooPermission> permissionDependencies, Collection<BambooPermission> supportedPermissions, BambooPermission permission) Obtain a collection of Bamboo permissions dependent on the passedpermission
.static @NotNull Set<BambooPermission>
PermissionsServiceUtils.extractDependencies
(ImmutableMultimap<BambooPermission, BambooPermission> permissionDependencies, Collection<BambooPermission> supportedPermissions, BambooPermission permission) Obtain a collection of Bamboo permissions dependent on the passedpermission
.static @NotNull ImmutableMultimap<BambooPermission,
BambooPermission> PermissionsServiceUtils.findMissingDependencies
(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier) Validates permission dependencies.static @NotNull ImmutableMultimap<BambooPermission,
BambooPermission> PermissionsServiceUtils.findMissingDependencies
(@NotNull Collection<BambooPermission> permissions, @NotNull Function<BambooPermission, Collection<BambooPermission>> permissionDependenciesSupplier) Validates permission dependencies.static @NotNull 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
Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeFieldDescriptionstatic final BambooPermission
BambooPermission.ADMINISTRATION
static final BambooPermission
BambooPermission.APPROVE_RELEASE
static final BambooPermission
BambooPermission.BUILD
static final BambooPermission
BambooPermission.CLONE
static final BambooPermission
BambooPermission.CREATE
static final BambooPermission
BambooPermission.CREATE_PLAN_BRANCH
static final BambooPermission
BambooPermission.CREATE_RELEASE
static final BambooPermission
BambooPermission.CREATE_REPOSITORY
static final BambooPermission
BambooPermission.DELETE
static final BambooPermission
BambooPermission.READ
static final BambooPermission
BambooPermission.RESTRICTEDADMINISTRATION
static final BambooPermission
BambooPermission.SIGN_UP
static final BambooPermission
BambooPermission.SOX_COMPLIANCE
static final BambooPermission
BambooPermission.VIEW_CONFIGURATION
static final BambooPermission
BambooPermission.WRITE
Modifier and TypeFieldDescriptionstatic final Set<BambooPermission>
BambooPermission.ALL_PERMISSIONS
static final com.google.common.collect.ImmutableList<BambooPermission>
BambooPermission.PLAN_RELATED_PERMISSIONS
Deprecated.Modifier and TypeMethodDescriptionstatic BambooPermission
BambooPermission.convertToBambooPermission
(org.acegisecurity.acls.Permission permission) Modifier and TypeMethodDescriptionBambooAclHelper.getAnonymousPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions) BambooAclHelper.getGroupPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String group, @NotNull Collection<BambooPermission> supportedPermissions) 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()
BambooAclHelper.getUserPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String username, @NotNull Collection<BambooPermission> supportedPermissions) Modifier and TypeMethodDescriptionvoid
AclEntriesStatistics.AclEntryStatistics.put
(BambooPermission permission, Long count) void
AclEntriesStatistics.put
(String clazz, BambooPermission permission, Long count) Modifier and TypeMethodDescriptionvoid
BambooAclUpdateHelper.addPermissionsToAclForCurrentUser
(@NotNull org.acegisecurity.acls.MutableAcl acl, @NotNull List<BambooPermission> permissions) Adds the givenpermissions
for the currently logged in user to theacl
entry.BambooAclHelper.getAnonymousPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions) BambooAclHelper.getGroupPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String group, @NotNull Collection<BambooPermission> supportedPermissions) BambooAclHelper.getLoggedInPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions) BambooAclHelper.getUserPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull String username, @NotNull Collection<BambooPermission> supportedPermissions) BambooAclHelper.listGroupsWithPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions) BambooAclHelper.listUsersWithPermissions
(@NotNull org.acegisecurity.acls.Acl acl, @NotNull Collection<BambooPermission> supportedPermissions) -
Uses of BambooPermission in com.atlassian.bamboo.testutils.backdoor
Modifier and TypeMethodDescription@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.Modifier and TypeMethodDescriptionUserControl.createTemporaryUser
(BambooPermission... permissions) Creates user that will be deleted after test executionUserControl.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.Modifier and TypeMethodDescriptionvoid
PermissionsControl.checkPlanPermissions
(PlanKey planKey, BambooRole role, List<BambooPermission> has, List<BambooPermission> hasNot) UserControl.createTemporaryUser
(TestUser user, Iterable<BambooPermission> permissions) Creates user with custom permissions that will be deleted after test executionUserControl.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
ModifierConstructorDescriptionBambooTestPermission
(@NotNull BambooPrincipal principal, @NotNull BambooPermission permissionType) BambooTestPermission
(@NotNull BambooPrincipal principal, @Nullable BambooPermissionScope scope, @NotNull BambooPermission permissionType) -
Uses of BambooPermission in com.atlassian.bamboo.upgrade.tasks
Modifier and TypeMethodDescriptionprotected void
AbstractGrantNewPermissionsUpgradeTask.doUpgrade
(@NotNull Object aclEntity, @NotNull AclDao aclDao, @NotNull BambooAclUpdateHelper aclUpdateHelper, @NotNull org.apache.logging.log4j.Logger log, @NotNull Set<BambooPermission> permissionsRequiringNewPermission, @NotNull Set<BambooPermission> newPermissions) Run the upgrade for a single entity.
PlanPermissionsService.supportedPermissions()