Class PlanPermissions
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<T>
com.atlassian.bamboo.specs.api.builders.RootEntityPropertiesBuilder<PlanPermissionsProperties>
com.atlassian.bamboo.specs.api.builders.permission.PlanPermissions
Entity representing permissions for plans.
Note that this object needs to be published separately from associated
Plan
.
Pre-existing permissions that are not defined in associated Permissions
object are revoked when this object is published.-
Field Summary
-
Constructor Summary
ConstructorDescriptionPlanPermissions
(BambooKey projectKey, BambooKey planKey) PlanPermissions
(BambooOid planOid) PlanPermissions
(PlanIdentifier planIdentifier) -
Method Summary
Modifier and TypeMethodDescriptionAdds defaults permissions, ie.protected PlanPermissionsProperties
build()
@NotNull PlanIdentifier
Entity type and id representation that is shown to human.Entity type that is shown to human.permissions
(@NotNull Permissions permissions)
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
PlanPermissions
-
PlanPermissions
-
PlanPermissions
-
-
Method Details
-
permissions
-
addDefaultPermissions
Adds defaults permissions, ie.PermissionType.VIEW
for logged-in and anonymous users. -
getPlanIdentifier
-
getPermissions
-
build
- Specified by:
build
in classEntityPropertiesBuilder<PlanPermissionsProperties>
-
humanReadableType
Description copied from class:RootEntityPropertiesBuilder
Entity type that is shown to human.- Specified by:
humanReadableType
in classRootEntityPropertiesBuilder<PlanPermissionsProperties>
-
humanReadableId
Description copied from class:RootEntityPropertiesBuilder
Entity type and id representation that is shown to human.- Specified by:
humanReadableId
in classRootEntityPropertiesBuilder<PlanPermissionsProperties>
-