Uses of Class
com.atlassian.bamboo.testutils.user.BambooTestPermission
-
Uses of BambooTestPermission in com.atlassian.bamboo.testutils.backdoor
Modifier and TypeMethodDescriptionvoid
PermissionsControl.grantDeploymentProjectPermission
(long deploymentProjectId, @NotNull BambooTestPermission permission) Deprecated.void
PermissionsControl.grantEnvironmentPermission
(long environmentId, @NotNull BambooTestPermission permission) Deprecated.prefer usingPermissionsControl.setEnvironmentPermissions(java.lang.String, java.lang.String, com.atlassian.bamboo.specs.api.builders.permission.Permissions)
which is backed by Specsvoid
PermissionsControl.grantLinkedRepositoryPermission
(long repositoryId, @NotNull BambooTestPermission permission) Grant permission to a linked repository.void
PermissionsControl.grantPlanPermission
(@NotNull PlanKey planKey, @NotNull BambooTestPermission permission) void
PermissionsControl.grantProjectPermission
(@NotNull String projectKey, @NotNull BambooTestPermission permission) Grant project permissionvoid
PermissionsControl.grantProjectPlanPermission
(@NotNull String projectKey, @NotNull BambooTestPermission permission) Grant project plan permissionboolean
PermissionsControl.hasDeploymentProjectPermission
(long deploymentProjectId, @NotNull BambooTestPermission permission) boolean
PermissionsControl.hasLinkedRepositoryPermission
(long repositoryId, @NotNull BambooTestPermission permission) Check whether a permission is granted on a linked repository.boolean
PermissionsControl.hasPlanPermission
(@NotNull PlanKey planKey, @NotNull BambooTestPermission permission) void
PermissionsControl.revokeDeploymentProjectPermission
(long deploymentProjectId, @NotNull BambooTestPermission permission) Deprecated.prefer usingPermissionsControl.setDeploymentProjectPermissions(java.lang.String, com.atlassian.bamboo.specs.api.builders.permission.Permissions)
which is backed by Specsvoid
PermissionsControl.revokeEnvironmentPermission
(long environmentId, @NotNull BambooTestPermission permission) Deprecated.prefer usingPermissionsControl.setEnvironmentPermissions(java.lang.String, java.lang.String, com.atlassian.bamboo.specs.api.builders.permission.Permissions)
which is backed by Specsvoid
PermissionsControl.revokeLinkedRepositoryPermission
(long repositoryId, @NotNull BambooTestPermission permission) Revoke permission to a linked repository.void
PermissionsControl.revokePlanPermission
(@NotNull PlanKey planKey, @NotNull BambooTestPermission permission) void
PermissionsControl.revokeProjectPermission
(@NotNull String projectKey, @NotNull BambooTestPermission permission) Revoke project permission -
Uses of BambooTestPermission in com.atlassian.bamboo.testutils.user
Modifier and TypeMethodDescriptionBambooPrincipalPermissions.canAdministrate()
BambooPrincipalPermissions.canAdministrate
(@NotNull BambooPermissionScope scope) BambooPrincipalPermissions.canAdministrateRestricted()
BambooPrincipalPermissions.canAdministrateRestricted
(@NotNull BambooPermissionScope scope) BambooPrincipalPermissions.canApproveRelease()
BambooPrincipalPermissions.canBuild()
BambooPrincipalPermissions.canBuild
(@NotNull BambooPermissionScope scope) BambooPrincipalPermissions.canClone()
BambooPrincipalPermissions.canClone
(@NotNull BambooPermissionScope scope) BambooPrincipalPermissions.canCreate()
BambooPrincipalPermissions.canCreate
(@NotNull BambooPermissionScope scope) BambooPrincipalPermissions.canCreateRepository()
BambooPrincipalPermissions.canCreateRepository
(@NotNull BambooPermissionScope scope) BambooPrincipalPermissions.canDeploy()
BambooPrincipalPermissions.canRead()
BambooPrincipalPermissions.canRead
(@NotNull BambooPermissionScope scope) BambooPrincipalPermissions.canViewConfiguration()
BambooPrincipalPermissions.canViewConfiguration
(@NotNull BambooPermissionScope scope) BambooPrincipalPermissions.canWrite()
BambooPrincipalPermissions.canWrite
(@NotNull BambooPermissionScope scope) BambooPrincipalPermissions.soxCompliance()
PermissionsControl.setDeploymentProjectPermissions(java.lang.String, com.atlassian.bamboo.specs.api.builders.permission.Permissions)
which is backed by Specs