@ExperimentalApi
public interface DeploymentProjectPermissionsService
@NotNull Iterable<String> listUsersWithPermissionsForDeploymentProject(long deploymentProjectId)
@NotNull List<BambooPermission> getUserPermissionsForDeploymentProject(long deploymentProjectId, @NotNull String username)
boolean addUserPermissionsToDeploymentProject(long deploymentProjectId, @NotNull String username, @NotNull List<BambooPermission> permissionsToAdd)
boolean removeUserPermissionsFromDeploymentProject(long deploymentProjectId, @NotNull String username, @NotNull List<BambooPermission> permissionsToRemove)
@NotNull Iterable<String> listGroupsWithPermissionsForDeploymentProject(long deploymentProjectId)
@NotNull List<BambooPermission> getGroupPermissionsForDeploymentProject(long deploymentProjectId, @NotNull String group)
boolean addGroupPermissionsToDeploymentProject(long deploymentProjectId, @NotNull String group, @NotNull List<BambooPermission> permissionsToAdd)
boolean removeGroupPermissionsFromDeploymentProject(long deploymentProjectId, @NotNull String group, @NotNull List<BambooPermission> permissionsToRemove)
@NotNull List<BambooPermission> getLoggedInPermissionsForDeploymentProject(long deploymentProjectId)
boolean addLoggedInPermissionsToDeploymentProject(long deploymentProjectId, @NotNull List<BambooPermission> permissionsToAdd)
boolean removeLoggedInPermissionsFromDeploymentProject(long deploymentProjectId, @NotNull List<BambooPermission> permissionsToRemove)
@NotNull List<BambooPermission> getAnonymousPermissionsForDeploymentProject(long deploymentProjectId)
boolean addAnonymousPermissionsToDeploymentProject(long deploymentProjectId)
boolean removeAnonymousPermissionsFromDeploymentProject(long deploymentProjectId)
@NotNull Collection<BambooPermission> supportedPermissions()
Ordered by permission importance. Least granting permissions come first.
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.