Modifier and Type | Method and Description |
---|---|
BambooPermission |
AbstractPermissionAction.getMinimalPermission()
Minimal permission to grant when adding new principal.
|
Modifier and Type | Method and Description |
---|---|
static BambooPermission |
PermissionHelper.toBambooPermission(com.atlassian.bamboo.specs.api.builders.permission.PermissionType permissionType) |
Modifier and Type | Method and Description |
---|---|
static com.atlassian.bamboo.specs.api.builders.permission.PermissionType |
PermissionHelper.fromBambooPermission(BambooPermission bambooPermission) |
Modifier and Type | Method and Description |
---|---|
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) |
static List<String> |
PermissionHelper.createPermissionsForGroups(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
List<com.atlassian.bamboo.specs.api.model.permission.GroupPermissionProperties> groupPermissionsList) |
static List<String> |
PermissionHelper.createPermissionsForLoggedInUser(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
com.atlassian.bamboo.specs.api.model.permission.LoggedInUserPermissionsProperties loggedInUserPermissionProperties) |
static List<String> |
PermissionHelper.createPermissionsForLoggedInUser(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
com.atlassian.bamboo.specs.api.model.permission.LoggedInUserPermissionsProperties loggedInUserPermissionProperties) |
static List<String> |
PermissionHelper.createPermissionsForUsers(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
List<com.atlassian.bamboo.specs.api.model.permission.UserPermissionProperties> userPermissionsList) |
static List<String> |
PermissionHelper.createPermissionsForUsers(Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
List<com.atlassian.bamboo.specs.api.model.permission.UserPermissionProperties> userPermissionsList) |
Modifier and Type | Method and Description |
---|---|
List<BambooPermission> |
DefaultEnvironmentPermissionsService.getAnonymousPermissionsForEnvironment(long environmentId) |
List<BambooPermission> |
EnvironmentPermissionsService.getAnonymousPermissionsForEnvironment(long environmentId) |
List<BambooPermission> |
DefaultEnvironmentPermissionsService.getGroupPermissionsForEnvironment(long environmentId,
String groupName) |
List<BambooPermission> |
EnvironmentPermissionsService.getGroupPermissionsForEnvironment(long environmentId,
String groupName) |
List<BambooPermission> |
DefaultEnvironmentPermissionsService.getLoggedInPermissionsForEnvironment(long environmentId) |
List<BambooPermission> |
EnvironmentPermissionsService.getLoggedInPermissionsForEnvironment(long environmentId) |
List<BambooPermission> |
DefaultEnvironmentPermissionsService.getUserPermissionsForEnvironment(long environmentId,
String username) |
List<BambooPermission> |
EnvironmentPermissionsService.getUserPermissionsForEnvironment(long environmentId,
String username) |
Collection<BambooPermission> |
DefaultEnvironmentPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
EnvironmentPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Collection<BambooPermission> |
DefaultEnvironmentPermissionsService.supportedPermissions() |
Collection<BambooPermission> |
EnvironmentPermissionsService.supportedPermissions()
Collection of permissions configurable for environments.
|
Modifier and Type | Method and Description |
---|---|
Collection<BambooPermission> |
DefaultEnvironmentPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
EnvironmentPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultEnvironmentPermissionsService.addGroupPermissionsToEnvironment(long environmentId,
String groupName,
List<BambooPermission> permissionsToAdd) |
boolean |
EnvironmentPermissionsService.addGroupPermissionsToEnvironment(long environmentId,
String groupName,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultEnvironmentPermissionsService.addLoggedInPermissionsToEnvironment(long environmentId,
List<BambooPermission> permissionsToAdd) |
boolean |
EnvironmentPermissionsService.addLoggedInPermissionsToEnvironment(long environmentId,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultEnvironmentPermissionsService.addUserPermissionsToEnvironment(long environmentId,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
EnvironmentPermissionsService.addUserPermissionsToEnvironment(long environmentId,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultEnvironmentPermissionsService.removeGroupPermissionsFromEnvironment(long environmentId,
String groupName,
List<BambooPermission> permissionsToRemove) |
boolean |
EnvironmentPermissionsService.removeGroupPermissionsFromEnvironment(long environmentId,
String groupName,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultEnvironmentPermissionsService.removeLoggedInPermissionsFromEnvironment(long environmentId,
List<BambooPermission> permissionsToRemove) |
boolean |
EnvironmentPermissionsService.removeLoggedInPermissionsFromEnvironment(long environmentId,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultEnvironmentPermissionsService.removeUserPermissionsFromEnvironment(long environmentId,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
EnvironmentPermissionsService.removeUserPermissionsFromEnvironment(long environmentId,
String username,
List<BambooPermission> permissionsToRemove) |
Modifier and Type | Method and Description |
---|---|
List<BambooPermission> |
DefaultDeploymentProjectPermissionsService.getAnonymousPermissionsForDeploymentProject(long deploymentProjectId) |
List<BambooPermission> |
DeploymentProjectPermissionsService.getAnonymousPermissionsForDeploymentProject(long deploymentProjectId) |
List<BambooPermission> |
DefaultDeploymentProjectPermissionsService.getGroupPermissionsForDeploymentProject(long deploymentProjectId,
String groupName) |
List<BambooPermission> |
DeploymentProjectPermissionsService.getGroupPermissionsForDeploymentProject(long deploymentProjectId,
String groupName) |
List<BambooPermission> |
DefaultDeploymentProjectPermissionsService.getLoggedInPermissionsForDeploymentProject(long deploymentProjectId) |
List<BambooPermission> |
DeploymentProjectPermissionsService.getLoggedInPermissionsForDeploymentProject(long deploymentProjectId) |
List<BambooPermission> |
DefaultDeploymentProjectPermissionsService.getUserPermissionsForDeploymentProject(long deploymentProjectId,
String username) |
List<BambooPermission> |
DeploymentProjectPermissionsService.getUserPermissionsForDeploymentProject(long deploymentProjectId,
String username) |
Collection<BambooPermission> |
DefaultDeploymentProjectPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
DeploymentProjectPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Collection<BambooPermission> |
DefaultDeploymentProjectPermissionsService.supportedPermissions() |
Collection<BambooPermission> |
DeploymentProjectPermissionsService.supportedPermissions()
Collection of permissions configurable for deployment projects.
|
Modifier and Type | Method and Description |
---|---|
Collection<BambooPermission> |
DefaultDeploymentProjectPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
DeploymentProjectPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultDeploymentProjectPermissionsService.addGroupPermissionsToDeploymentProject(long deploymentProjectId,
String groupName,
List<BambooPermission> permissionsToAdd) |
boolean |
DeploymentProjectPermissionsService.addGroupPermissionsToDeploymentProject(long deploymentProjectId,
String groupName,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultDeploymentProjectPermissionsService.addLoggedInPermissionsToDeploymentProject(long deploymentProjectId,
List<BambooPermission> permissionsToAdd) |
boolean |
DeploymentProjectPermissionsService.addLoggedInPermissionsToDeploymentProject(long deploymentProjectId,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultDeploymentProjectPermissionsService.addUserPermissionsToDeploymentProject(long deploymentProjectId,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
DeploymentProjectPermissionsService.addUserPermissionsToDeploymentProject(long deploymentProjectId,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultDeploymentProjectPermissionsService.removeGroupPermissionsFromDeploymentProject(long deploymentProjectId,
String groupName,
List<BambooPermission> permissionsToRemove) |
boolean |
DeploymentProjectPermissionsService.removeGroupPermissionsFromDeploymentProject(long deploymentProjectId,
String groupName,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultDeploymentProjectPermissionsService.removeLoggedInPermissionsFromDeploymentProject(long deploymentProjectId,
List<BambooPermission> permissionsToRemove) |
boolean |
DeploymentProjectPermissionsService.removeLoggedInPermissionsFromDeploymentProject(long deploymentProjectId,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultDeploymentProjectPermissionsService.removeUserPermissionsFromDeploymentProject(long deploymentProjectId,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
DeploymentProjectPermissionsService.removeUserPermissionsFromDeploymentProject(long deploymentProjectId,
String username,
List<BambooPermission> permissionsToRemove) |
Modifier and Type | Method and Description |
---|---|
List<BambooPermission> |
DefaultPlanPermissionsService.getAnonymousPermissionsForPlan(String planKey) |
List<BambooPermission> |
PlanPermissionsService.getAnonymousPermissionsForPlan(String planKey) |
List<BambooPermission> |
DefaultPlanPermissionsService.getGroupPermissionsForPlan(String planKey,
String groupName) |
List<BambooPermission> |
PlanPermissionsService.getGroupPermissionsForPlan(String planKey,
String groupName) |
List<BambooPermission> |
DefaultPlanPermissionsService.getLoggedInPermissionsForPlan(String planKey) |
List<BambooPermission> |
PlanPermissionsService.getLoggedInPermissionsForPlan(String planKey) |
List<BambooPermission> |
DefaultPlanPermissionsService.getUserPermissionsForPlan(String planKey,
String username) |
List<BambooPermission> |
PlanPermissionsService.getUserPermissionsForPlan(String planKey,
String username) |
Collection<BambooPermission> |
DefaultPlanPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
PlanPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Collection<BambooPermission> |
DefaultPlanPermissionsService.supportedPermissions() |
Collection<BambooPermission> |
PlanPermissionsService.supportedPermissions()
Collection of permissions configurable for plans.
|
Modifier and Type | Method and Description |
---|---|
Collection<BambooPermission> |
DefaultPlanPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
PlanPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultPlanPermissionsService.addGroupPermissionsToPlan(String planKey,
String groupName,
List<BambooPermission> permissionsToAdd) |
boolean |
PlanPermissionsService.addGroupPermissionsToPlan(String planKey,
String groupName,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultPlanPermissionsService.addLoggedInPermissionsToPlan(String planKey,
List<BambooPermission> permissionsToAdd) |
boolean |
PlanPermissionsService.addLoggedInPermissionsToPlan(String planKey,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultPlanPermissionsService.addUserPermissionsToPlan(String planKey,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
PlanPermissionsService.addUserPermissionsToPlan(String planKey,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultPlanPermissionsService.removeGroupPermissionsFromPlan(String planKey,
String groupName,
List<BambooPermission> permissionsToRemove) |
boolean |
PlanPermissionsService.removeGroupPermissionsFromPlan(String planKey,
String groupName,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultPlanPermissionsService.removeLoggedInPermissionsFromPlan(String planKey,
List<BambooPermission> permissionsToRemove) |
boolean |
PlanPermissionsService.removeLoggedInPermissionsFromPlan(String planKey,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultPlanPermissionsService.removeUserPermissionsFromPlan(String planKey,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
PlanPermissionsService.removeUserPermissionsFromPlan(String planKey,
String username,
List<BambooPermission> permissionsToRemove) |
Modifier and Type | Method and Description |
---|---|
Iterable<BambooPermission> |
GlobalPermissionConversionFunction.extractPermissions(RestGlobalPermission restGlobalPermission) |
Modifier and Type | Method and Description |
---|---|
void |
RestHelperWrapper.assertGlobalPermission(BambooPermission permission) |
static void |
RestHelper.assertGlobalPermission(BambooPermission permission)
Asserts that current user has the specified permission.
|
void |
RestHelperWrapper.assertGlobalPermission(BambooPermission permission,
String errorMessage) |
static void |
RestHelper.assertGlobalPermission(BambooPermission permission,
String errorMessage)
Asserts that current user has the specified permission.
|
static void |
RestHelper.assertPlanPermission(BambooPermission permission,
PlanKey planKey,
BambooPermissionManager bambooPermissionManager)
Check user has provided or ADMINISTRATION permission on given plan
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProjectPermissionsResource.addGroupPermissions(String projectKey,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
PlanPermissionsResource.addGroupPermissions(String planKey,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
GlobalPermissionsResource.addGroupPermissions(String ignore,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
DeploymentProjectPermissionsResource.addGroupPermissions(String id,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
EnvironmentPermissionsResource.addGroupPermissions(String id,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
RepositoryPermissionsResource.addGroupPermissions(String id,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPlanPermissionsResource.addGroupPermissions(String projectKey,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPermissionsResource.addLoggedInPermissions(String projectKey,
List<BambooPermission> permissionsToAdd) |
boolean |
PlanPermissionsResource.addLoggedInPermissions(String planKey,
List<BambooPermission> permissionsToAdd) |
boolean |
GlobalPermissionsResource.addLoggedInPermissions(String ignore,
List<BambooPermission> permissionsToAdd) |
boolean |
DeploymentProjectPermissionsResource.addLoggedInPermissions(String id,
List<BambooPermission> permissionsToAdd) |
boolean |
EnvironmentPermissionsResource.addLoggedInPermissions(String id,
List<BambooPermission> permissionsToAdd) |
boolean |
RepositoryPermissionsResource.addLoggedInPermissions(String id,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPlanPermissionsResource.addLoggedInPermissions(String projectKey,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPermissionsResource.addUserPermissions(String projectKey,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
PlanPermissionsResource.addUserPermissions(String planKey,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
GlobalPermissionsResource.addUserPermissions(String ignore,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
DeploymentProjectPermissionsResource.addUserPermissions(String id,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
EnvironmentPermissionsResource.addUserPermissions(String id,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
RepositoryPermissionsResource.addUserPermissions(String id,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPlanPermissionsResource.addUserPermissions(String projectKey,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPermissionsResource.removeGroupPermissions(String projectKey,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
PlanPermissionsResource.removeGroupPermissions(String planKey,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
GlobalPermissionsResource.removeGroupPermissions(String ignore,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
DeploymentProjectPermissionsResource.removeGroupPermissions(String id,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
EnvironmentPermissionsResource.removeGroupPermissions(String id,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
RepositoryPermissionsResource.removeGroupPermissions(String id,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPlanPermissionsResource.removeGroupPermissions(String projectKey,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPermissionsResource.removeLoggedInPermissions(String projectKey,
List<BambooPermission> permissionsToRemove) |
boolean |
PlanPermissionsResource.removeLoggedInPermissions(String planKey,
List<BambooPermission> permissionsToRemove) |
boolean |
GlobalPermissionsResource.removeLoggedInPermissions(String ignore,
List<BambooPermission> permissionsToRemove) |
boolean |
DeploymentProjectPermissionsResource.removeLoggedInPermissions(String id,
List<BambooPermission> permissionsToRemove) |
boolean |
EnvironmentPermissionsResource.removeLoggedInPermissions(String id,
List<BambooPermission> permissionsToRemove) |
boolean |
RepositoryPermissionsResource.removeLoggedInPermissions(String id,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPlanPermissionsResource.removeLoggedInPermissions(String projectKey,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPermissionsResource.removeUserPermissions(String projectKey,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
PlanPermissionsResource.removeUserPermissions(String planKey,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
GlobalPermissionsResource.removeUserPermissions(String ignore,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
DeploymentProjectPermissionsResource.removeUserPermissions(String id,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
EnvironmentPermissionsResource.removeUserPermissions(String id,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
RepositoryPermissionsResource.removeUserPermissions(String id,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPlanPermissionsResource.removeUserPermissions(String projectKey,
String username,
List<BambooPermission> permissionsToRemove) |
Modifier and Type | Method and Description |
---|---|
List<BambooPermission> |
DefaultProjectPermissionsService.getAnonymousPermissions(String projectKey) |
List<BambooPermission> |
ProjectPermissionsService.getAnonymousPermissions(String projectKey) |
List<BambooPermission> |
DefaultProjectPlanPermissionsService.getAnonymousPermissionsForProjectPlan(String projectKey) |
List<BambooPermission> |
ProjectPlanPermissionsService.getAnonymousPermissionsForProjectPlan(String projectKey) |
List<BambooPermission> |
DefaultProjectPermissionsService.getGroupPermissionsForProject(String projectKey,
String group) |
List<BambooPermission> |
ProjectPermissionsService.getGroupPermissionsForProject(String projectKey,
String group) |
List<BambooPermission> |
DefaultProjectPlanPermissionsService.getGroupPermissionsForProjectPlan(String projectKey,
String group) |
List<BambooPermission> |
ProjectPlanPermissionsService.getGroupPermissionsForProjectPlan(String projectKey,
String group) |
List<BambooPermission> |
DefaultProjectPermissionsService.getLoggedInPermissionsForProject(String projectKey) |
List<BambooPermission> |
ProjectPermissionsService.getLoggedInPermissionsForProject(String projectKey) |
List<BambooPermission> |
DefaultProjectPlanPermissionsService.getLoggedInPermissionsForProjectPlan(String projectKey) |
List<BambooPermission> |
ProjectPlanPermissionsService.getLoggedInPermissionsForProjectPlan(String projectKey) |
List<BambooPermission> |
DefaultProjectPermissionsService.getUserPermissionsForProject(String projectKey,
String username) |
List<BambooPermission> |
ProjectPermissionsService.getUserPermissionsForProject(String projectKey,
String username) |
List<BambooPermission> |
DefaultProjectPlanPermissionsService.getUserPermissionsForProjectPlan(String projectKey,
String username) |
List<BambooPermission> |
ProjectPlanPermissionsService.getUserPermissionsForProjectPlan(String projectKey,
String username) |
Collection<BambooPermission> |
DefaultProjectPlanPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
DefaultProjectPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
ProjectPlanPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Collection<BambooPermission> |
ProjectPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Collection<BambooPermission> |
DefaultProjectPlanPermissionsService.supportedPermissions() |
Collection<BambooPermission> |
DefaultProjectPermissionsService.supportedPermissions() |
Collection<BambooPermission> |
ProjectPlanPermissionsService.supportedPermissions()
Collection of permissions configurable on projects to apply to all contained plans.
|
Collection<BambooPermission> |
ProjectPermissionsService.supportedPermissions()
Collection of permissions configurable for projects.
|
Modifier and Type | Method and Description |
---|---|
Collection<BambooPermission> |
DefaultProjectPlanPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
DefaultProjectPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
ProjectPlanPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Collection<BambooPermission> |
ProjectPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultProjectPermissionsService.addGroupPermissionsToProject(String projectKey,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPermissionsService.addGroupPermissionsToProject(String projectKey,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultProjectPlanPermissionsService.addGroupPermissionsToProjectPlan(String projectKey,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPlanPermissionsService.addGroupPermissionsToProjectPlan(String projectKey,
String group,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultProjectPermissionsService.addLoggedInPermissionsToProject(String projectKey,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPermissionsService.addLoggedInPermissionsToProject(String projectKey,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultProjectPlanPermissionsService.addLoggedInPermissionsToProjectPlan(String projectKey,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPlanPermissionsService.addLoggedInPermissionsToProjectPlan(String projectKey,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultProjectPermissionsService.addUserPermissionsToProject(String projectKey,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPermissionsService.addUserPermissionsToProject(String projectKey,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultProjectPlanPermissionsService.addUserPermissionsToProjectPlan(String projectKey,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
ProjectPlanPermissionsService.addUserPermissionsToProjectPlan(String projectKey,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultProjectPermissionsService.removeGroupPermissionsFromProject(String projectKey,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPermissionsService.removeGroupPermissionsFromProject(String projectKey,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultProjectPlanPermissionsService.removeGroupPermissionsFromProjectPlan(String projectKey,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPlanPermissionsService.removeGroupPermissionsFromProjectPlan(String projectKey,
String group,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultProjectPermissionsService.removeLoggedInPermissionsFromProject(String projectKey,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPermissionsService.removeLoggedInPermissionsFromProject(String projectKey,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultProjectPlanPermissionsService.removeLoggedInPermissionsFromProjectPlan(String projectKey,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPlanPermissionsService.removeLoggedInPermissionsFromProjectPlan(String projectKey,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultProjectPermissionsService.removeUserPermissionsFromProject(String projectKey,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPermissionsService.removeUserPermissionsFromProject(String projectKey,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultProjectPlanPermissionsService.removeUserPermissionsFromProjectPlan(String projectKey,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
ProjectPlanPermissionsService.removeUserPermissionsFromProjectPlan(String projectKey,
String username,
List<BambooPermission> permissionsToRemove) |
Modifier and Type | Method and Description |
---|---|
List<BambooPermission> |
DefaultRepositoryPermissionsService.getGroupPermissionsForRepository(long repositoryId,
String groupName) |
List<BambooPermission> |
RepositoryPermissionsService.getGroupPermissionsForRepository(long repositoryId,
String group) |
List<BambooPermission> |
DefaultRepositoryPermissionsService.getLoggedInPermissionsForRepository(long repositoryId) |
List<BambooPermission> |
RepositoryPermissionsService.getLoggedInPermissionsForRepository(long repositoryId) |
List<BambooPermission> |
DefaultRepositoryPermissionsService.getUserPermissionsForRepository(long repositoryId,
String username) |
List<BambooPermission> |
RepositoryPermissionsService.getUserPermissionsForRepository(long repositoryId,
String username) |
Collection<BambooPermission> |
DefaultRepositoryPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
RepositoryPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Collection<BambooPermission> |
DefaultRepositoryPermissionsService.supportedPermissions() |
Collection<BambooPermission> |
RepositoryPermissionsService.supportedPermissions()
Collection of permissions configurable for linked repositories.
|
Modifier and Type | Method and Description |
---|---|
Collection<BambooPermission> |
DefaultRepositoryPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
RepositoryPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultRepositoryPermissionsService.addGroupPermissionsToRepository(long repositoryId,
String groupName,
List<BambooPermission> permissionsToAdd) |
boolean |
RepositoryPermissionsService.addGroupPermissionsToRepository(long repositoryId,
String groupName,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultRepositoryPermissionsService.addLoggedInPermissionsToRepository(long repositoryId,
List<BambooPermission> permissionsToAdd) |
boolean |
RepositoryPermissionsService.addLoggedInPermissionsToRepository(long repositoryId,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultRepositoryPermissionsService.addUserPermissionsToRepository(long repositoryId,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
RepositoryPermissionsService.addUserPermissionsToRepository(long repositoryId,
String username,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultRepositoryPermissionsService.removeGroupPermissionsFromRepository(long repositoryId,
String groupName,
List<BambooPermission> permissionsToRemove) |
boolean |
RepositoryPermissionsService.removeGroupPermissionsFromRepository(long repositoryId,
String groupName,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultRepositoryPermissionsService.removeLoggedInPermissionsFromRepository(long repositoryId,
List<BambooPermission> permissionsToRemove) |
boolean |
RepositoryPermissionsService.removeLoggedInPermissionsFromRepository(long repositoryId,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultRepositoryPermissionsService.removeUserPermissionsFromRepository(long repositoryId,
String username,
List<BambooPermission> permissionsToRemove) |
boolean |
RepositoryPermissionsService.removeUserPermissionsFromRepository(long repositoryId,
String username,
List<BambooPermission> permissionsToRemove) |
Modifier and Type | Method and Description |
---|---|
BambooPermission |
RestGlobalPermission.PermissionType.getBambooPermission() |
Modifier and Type | Method and Description |
---|---|
Boolean |
LucenePermissionChecker.PermissionChecker.hasPlanPermission(BambooPermission read,
Long permissionPlanId) |
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.Ordering<BambooPermission> |
PermissionsServiceUtils.PERMISSIONS_ORDERING
Globally-consistent ordering of Bamboo permissions.
|
Modifier and Type | Method and Description |
---|---|
Collection<BambooPermission> |
DefaultGlobalPermissionsService.editablePermissions() |
Collection<BambooPermission> |
GlobalPermissionsService.editablePermissions()
Collection of global permissions which are editable by current user.
|
static 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 passed
permission . |
static com.google.common.collect.ImmutableMultimap<BambooPermission,BambooPermission> |
PermissionsServiceUtils.findMissingDependencies(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies.
|
static com.google.common.collect.ImmutableMultimap<BambooPermission,BambooPermission> |
PermissionsServiceUtils.findMissingDependencies(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies.
|
List<BambooPermission> |
DefaultGlobalPermissionsService.getAnonymousGlobalPermissions() |
List<BambooPermission> |
GlobalPermissionsService.getAnonymousGlobalPermissions() |
List<BambooPermission> |
DefaultGlobalPermissionsService.getGroupGlobalPermissions(String groupName) |
List<BambooPermission> |
GlobalPermissionsService.getGroupGlobalPermissions(String groupName) |
List<BambooPermission> |
DefaultGlobalPermissionsService.getLoggedInGlobalPermissions() |
List<BambooPermission> |
GlobalPermissionsService.getLoggedInGlobalPermissions() |
static Collection<BambooPermission> |
PermissionsServiceUtils.getPermissionsAndDependencies(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Return a collection of permissions with all missing dependencies added.
|
List<BambooPermission> |
DefaultGlobalPermissionsService.getUserGlobalPermissions(String username) |
List<BambooPermission> |
GlobalPermissionsService.getUserGlobalPermissions(String username) |
Collection<BambooPermission> |
DefaultGlobalPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
GlobalPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Collection<BambooPermission> |
DefaultGlobalPermissionsService.supportedPermissions() |
Collection<BambooPermission> |
GlobalPermissionsService.supportedPermissions()
Collection of permissions configurable on application level.
|
Modifier and Type | Method and Description |
---|---|
static 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 passed
permission . |
Collection<String> |
BambooPermissionManagerImpl.getGroupsWithPermission(BambooPermission permission) |
Collection<String> |
BambooPermissionManagerImpl.getUsersWithPermission(BambooPermission permission) |
com.google.common.base.Predicate<Object> |
BambooPermissionManagerImpl.hasPermission(BambooPermission permission,
org.acegisecurity.Authentication authentication) |
com.google.common.base.Predicate<Object> |
BambooPermissionManager.hasPermission(BambooPermission permission,
org.acegisecurity.Authentication authentication)
Predicate for {link #hasPermission(permission, object, authentication)}
|
boolean |
BambooCachingPermissionManagerFacadeImpl.hasPlanPermission(BambooPermission permission,
long planId) |
boolean |
BambooCachingPermissionManagerFacade.hasPlanPermission(BambooPermission permission,
long planId)
Return true if currently authenticated principal has a permission to plan
|
boolean |
BambooCachingPermissionManagerFacadeImpl.hasPlanPermission(BambooPermission permission,
PlanKey planKey) |
boolean |
BambooCachingPermissionManagerFacade.hasPlanPermission(BambooPermission permission,
PlanKey planKey) |
Collection<BambooPermission> |
DefaultGlobalPermissionsService.permissionDependencies(BambooPermission permission) |
Collection<BambooPermission> |
GlobalPermissionsService.permissionDependencies(BambooPermission permission)
Obtain a collection of Bamboo permissions dependent on the passed
permission . |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultGlobalPermissionsService.addGroupGlobalPermissions(String groupName,
List<BambooPermission> permissionsToAdd) |
boolean |
GlobalPermissionsService.addGroupGlobalPermissions(String groupName,
List<BambooPermission> permissionsToAdd) |
boolean |
DefaultGlobalPermissionsService.addLoggedInGlobalPermissions(List<BambooPermission> permissionsToAdd) |
boolean |
GlobalPermissionsService.addLoggedInGlobalPermissions(List<BambooPermission> permissionsToAdd) |
boolean |
DefaultGlobalPermissionsService.addUserGlobalPermissions(String username,
List<BambooPermission> permissionsToAdd) |
boolean |
GlobalPermissionsService.addUserGlobalPermissions(String username,
List<BambooPermission> permissionsToAdd) |
static 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 passed
permission . |
static 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 passed
permission . |
static 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 passed
permission . |
static com.google.common.collect.ImmutableMultimap<BambooPermission,BambooPermission> |
PermissionsServiceUtils.findMissingDependencies(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies.
|
static com.google.common.collect.ImmutableMultimap<BambooPermission,BambooPermission> |
PermissionsServiceUtils.findMissingDependencies(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies.
|
static com.google.common.collect.ImmutableMultimap<BambooPermission,BambooPermission> |
PermissionsServiceUtils.findMissingDependencies(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies.
|
static Collection<BambooPermission> |
PermissionsServiceUtils.getPermissionsAndDependencies(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Return a collection of permissions with all missing dependencies added.
|
static Collection<BambooPermission> |
PermissionsServiceUtils.getPermissionsAndDependencies(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Return a collection of permissions with all missing dependencies added.
|
static Collection<BambooPermission> |
PermissionsServiceUtils.getPermissionsAndDependencies(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Return a collection of permissions with all missing dependencies added.
|
boolean |
DefaultGlobalPermissionsService.removeGroupGlobalPermissions(String groupName,
List<BambooPermission> permissionsToRemove) |
boolean |
GlobalPermissionsService.removeGroupGlobalPermissions(String groupName,
List<BambooPermission> permissionsToRemove) |
boolean |
DefaultGlobalPermissionsService.removeLoggedInGlobalPermissions(List<BambooPermission> permissionsToRemove) |
boolean |
GlobalPermissionsService.removeLoggedInGlobalPermissions(List<BambooPermission> permissionsToRemove) |
boolean |
DefaultGlobalPermissionsService.removeUserGlobalPermissions(String username,
List<BambooPermission> permissionsToRemove) |
boolean |
GlobalPermissionsService.removeUserGlobalPermissions(String username,
List<BambooPermission> permissionsToRemove) |
static void |
PermissionsServiceUtils.validateDependenciesAfterGranting(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after granting new permissions.
|
static void |
PermissionsServiceUtils.validateDependenciesAfterGranting(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after granting new permissions.
|
static void |
PermissionsServiceUtils.validateDependenciesAfterGranting(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after granting new permissions.
|
static <E extends Exception> |
PermissionsServiceUtils.validateDependenciesAfterGranting(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
Function<BambooPermission,String> permissionNameFunction,
Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after granting new permissions.
|
static <E extends Exception> |
PermissionsServiceUtils.validateDependenciesAfterGranting(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
Function<BambooPermission,String> permissionNameFunction,
Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after granting new permissions.
|
static <E extends Exception> |
PermissionsServiceUtils.validateDependenciesAfterGranting(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
Function<BambooPermission,String> permissionNameFunction,
Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after granting new permissions.
|
static <E extends Exception> |
PermissionsServiceUtils.validateDependenciesAfterGranting(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
Function<BambooPermission,String> permissionNameFunction,
Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after granting new permissions.
|
static void |
PermissionsServiceUtils.validateDependenciesAfterRevoking(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after revoking permissions.
|
static void |
PermissionsServiceUtils.validateDependenciesAfterRevoking(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after revoking permissions.
|
static void |
PermissionsServiceUtils.validateDependenciesAfterRevoking(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier)
Validates permission dependencies after revoking permissions.
|
static <E extends Exception> |
PermissionsServiceUtils.validateDependenciesAfterRevoking(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
Function<BambooPermission,String> permissionNameFunction,
Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after revoking permissions.
|
static <E extends Exception> |
PermissionsServiceUtils.validateDependenciesAfterRevoking(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
Function<BambooPermission,String> permissionNameFunction,
Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after revoking permissions.
|
static <E extends Exception> |
PermissionsServiceUtils.validateDependenciesAfterRevoking(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
Function<BambooPermission,String> permissionNameFunction,
Function<String,E> exceptionConstructorFunction)
Validates permission dependencies after revoking permissions.
|
static <E extends Exception> |
PermissionsServiceUtils.validateDependenciesAfterRevoking(Collection<BambooPermission> permissions,
Function<BambooPermission,Collection<BambooPermission>> permissionDependenciesSupplier,
Function<BambooPermission,String> permissionNameFunction,
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) |
Modifier and Type | Method and Description |
---|---|
static boolean |
BambooAcegiSecurityUtils.isGranted(org.acegisecurity.acls.Acl acl,
BambooPermission permission,
org.acegisecurity.acls.sid.Sid sid)
Check if permission is explicitly granted to the given sid on an ACL object.
|
Modifier and Type | Field and Description |
---|---|
static BambooPermission |
BambooPermission.ADMINISTRATION |
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.WRITE |
Modifier and Type | Field and Description |
---|---|
static Set<BambooPermission> |
BambooPermission.ALL_PERMISSIONS |
static com.google.common.collect.ImmutableList<BambooPermission> |
BambooPermission.PLAN_RELATED_PERMISSIONS
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BambooPermission |
BambooPermission.convertToBambooPermission(org.acegisecurity.acls.Permission permission) |
Modifier and Type | Method and Description |
---|---|
List<BambooPermission> |
BambooAclHelper.getAnonymousPermissions(org.acegisecurity.acls.Acl acl,
Collection<BambooPermission> supportedPermissions) |
List<BambooPermission> |
BambooAclHelper.getGroupPermissions(org.acegisecurity.acls.Acl acl,
String group,
Collection<BambooPermission> supportedPermissions) |
List<BambooPermission> |
BambooAclHelper.getLoggedInPermissions(org.acegisecurity.acls.Acl acl,
Collection<BambooPermission> supportedPermissions) |
static com.google.common.collect.ImmutableList<BambooPermission> |
BambooPermission.getPlanPermissionsList()
Deprecated.
since 6.2 use
PlanPermissionsService.supportedPermissions() |
List<BambooPermission> |
BambooAclHelper.getUserPermissions(org.acegisecurity.acls.Acl acl,
String username,
Collection<BambooPermission> supportedPermissions) |
Modifier and Type | Method and Description |
---|---|
void |
AclEntriesStatistics.AclEntryStatistics.put(BambooPermission permission,
Long count) |
void |
AclEntriesStatistics.put(String clazz,
BambooPermission permission,
Long count) |
Modifier and Type | Method and Description |
---|---|
void |
BambooAclUpdateHelper.addPermissionsToAclForCurrentUser(org.acegisecurity.acls.MutableAcl acl,
List<BambooPermission> permissions)
Adds the given
permissions for the currently logged in user to the acl entry. |
List<BambooPermission> |
BambooAclHelper.getAnonymousPermissions(org.acegisecurity.acls.Acl acl,
Collection<BambooPermission> supportedPermissions) |
List<BambooPermission> |
BambooAclHelper.getGroupPermissions(org.acegisecurity.acls.Acl acl,
String group,
Collection<BambooPermission> supportedPermissions) |
List<BambooPermission> |
BambooAclHelper.getLoggedInPermissions(org.acegisecurity.acls.Acl acl,
Collection<BambooPermission> supportedPermissions) |
List<BambooPermission> |
BambooAclHelper.getUserPermissions(org.acegisecurity.acls.Acl acl,
String username,
Collection<BambooPermission> supportedPermissions) |
Iterable<String> |
BambooAclHelper.listGroupsWithPermissions(org.acegisecurity.acls.Acl acl,
Collection<BambooPermission> supportedPermissions) |
Iterable<String> |
BambooAclHelper.listUsersWithPermissions(org.acegisecurity.acls.Acl acl,
Collection<BambooPermission> supportedPermissions) |
Modifier and Type | Method and Description |
---|---|
List<BambooPermission> |
GlobalPermissionControl.getGroupPermissions(TestGroup group)
Get current global group permissions.
|
List<BambooPermission> |
GlobalPermissionControl.getRolePermissions(BambooRole role)
Get current global role permissions.
|
List<BambooPermission> |
GlobalPermissionControl.getUserPermissions(TestUser user)
Get current global user permissions.
|
Modifier and Type | Method and Description |
---|---|
TestUser |
UserControl.createTemporaryUser(BambooPermission... permissions)
Creates user that will be deleted after test execution
|
UserControl |
UserControl.createTemporaryUser(TestUser user,
BambooPermission... permissions)
Creates user with custom permissions that will be deleted after test execution
|
void |
GlobalPermissionControl.setLoggedUserPermission(BambooPermission... permissions)
Updates the Logged in users global permissions in the Bamboo instance.
|
Modifier and Type | Method and Description |
---|---|
void |
PermissionsControl.checkPlanPermissions(PlanKey planKey,
BambooRole role,
List<BambooPermission> has,
List<BambooPermission> hasNot) |
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 execution
|
UserControl |
UserControl.createUser(TestUser user,
Iterable<BambooPermission> permissions)
Creates user with custom permissions that will not be deleted after test execution
|
void |
GlobalPermissionControl.setGroupPermissions(TestGroup testGroup,
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(BambooRole role,
Collection<BambooPermission> permissions)
Set global role permissions.
|
void |
GlobalPermissionControl.setUserPermissions(TestUser testUser,
Collection<BambooPermission> permissions)
Set global permissions for a user.
|
Modifier and Type | Method and Description |
---|---|
BambooPermission |
BambooTestPermission.getPermissionType() |
Constructor and Description |
---|
BambooTestPermission(BambooPrincipal principal,
BambooPermission permissionType) |
BambooTestPermission(BambooPrincipal principal,
BambooPermissionScope scope,
BambooPermission permissionType) |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.