Modifier and Type | Method and Description |
---|---|
static void |
RestHelper.assertGlobalPermission(BambooPermission permission)
Asserts that current user has the specified permission.
|
void |
RestHelperWrapper.assertGlobalPermission(BambooPermission permission) |
static void |
RestHelper.assertGlobalPermission(BambooPermission permission,
String errorMessage)
Asserts that current user has the specified permission.
|
void |
RestHelperWrapper.assertGlobalPermission(BambooPermission permission,
String errorMessage) |
static void |
RestHelper.assertPlanPermission(BambooPermission permission,
PlanKey planKey)
Check user has provided or ADMINISTRATION permission on given plan
|
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 | Method and Description |
---|---|
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 permissionPlanId) |
boolean |
BambooCachingPermissionManagerFacade.hasPlanPermission(BambooPermission permission,
long permissionPlanId) |
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 com.google.common.collect.ImmutableList<BambooPermission> |
BambooPermission.PLAN_RELATED_PERMISSIONS |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableList<BambooPermission> |
BambooPermission.getPlanPermissionsList()
Returns collection of all possible collections for plan.
|
Modifier and Type | Method and Description |
---|---|
List<BambooPermission> |
GlobalPermissionControl.getRolePermissions(BambooRole role)
Get current global role permissions.
|
Modifier and Type | Method and Description |
---|---|
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(List<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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.