public class BambooPermission extends Object implements org.acegisecurity.acls.Permission, Serializable
Modifier and Type | Field and Description |
---|---|
static BambooPermission |
ADMINISTRATION |
static Set<BambooPermission> |
ALL_PERMISSIONS |
static BambooPermission |
BUILD |
static BambooPermission |
CLONE |
static BambooPermission |
CREATE |
static BambooPermission |
CREATE_REPOSITORY |
static BambooPermission |
DELETE |
static com.google.common.collect.ImmutableList<BambooPermission> |
PLAN_RELATED_PERMISSIONS
Deprecated.
|
static BambooPermission |
READ |
static BambooPermission |
RESTRICTEDADMINISTRATION |
static BambooPermission |
SIGN_UP |
static BambooPermission |
SOX_COMPLIANCE |
static BambooPermission |
WRITE |
Modifier and Type | Method and Description |
---|---|
static org.acegisecurity.acls.Permission |
buildFromMask(int mask)
Dynamically creates a
CumulativePermission or BambooPermission representing the active
bits in the passed mask. |
static org.acegisecurity.acls.Permission[] |
buildFromMask(int[] inputMasks) |
static org.acegisecurity.acls.Permission |
buildFromName(String name) |
static org.acegisecurity.acls.Permission[] |
buildFromName(String[] names) |
static String |
determineNameFromPermission(org.acegisecurity.acls.Permission permission)
Determine the name of the permission based on the bit mask.
|
boolean |
equals(Object arg0) |
int |
getMask() |
String |
getName() |
String |
getPattern() |
static com.google.common.collect.ImmutableList<BambooPermission> |
getPlanPermissionsList()
Deprecated.
since 6.2 use
PlanPermissionsService.supportedPermissions() |
int |
hashCode() |
static boolean |
isGlobalPermissionGrantedForRestrictedAdmin(org.acegisecurity.acls.Permission permission)
Check if global permission is granted for restricted admin
|
String |
toString() |
public static final BambooPermission READ
public static final BambooPermission WRITE
public static final BambooPermission CREATE
public static final BambooPermission DELETE
public static final BambooPermission ADMINISTRATION
public static final BambooPermission SIGN_UP
public static final BambooPermission BUILD
public static final BambooPermission CLONE
public static final BambooPermission RESTRICTEDADMINISTRATION
public static final BambooPermission SOX_COMPLIANCE
public static final BambooPermission CREATE_REPOSITORY
@Deprecated public static final com.google.common.collect.ImmutableList<BambooPermission> PLAN_RELATED_PERMISSIONS
PlanPermissionsService.supportedPermissions()
public static final Set<BambooPermission> ALL_PERMISSIONS
@Nullable public static String determineNameFromPermission(org.acegisecurity.acls.Permission permission)
@NotNull @Deprecated public static com.google.common.collect.ImmutableList<BambooPermission> getPlanPermissionsList()
PlanPermissionsService.supportedPermissions()
public static org.acegisecurity.acls.Permission buildFromMask(int mask)
CumulativePermission
or BambooPermission
representing the active
bits in the passed mask.mask
- to buildpublic static org.acegisecurity.acls.Permission[] buildFromMask(int[] inputMasks)
@NotNull public static org.acegisecurity.acls.Permission buildFromName(String name)
public static org.acegisecurity.acls.Permission[] buildFromName(String[] names)
public static boolean isGlobalPermissionGrantedForRestrictedAdmin(org.acegisecurity.acls.Permission permission)
public int getMask()
getMask
in interface org.acegisecurity.acls.Permission
public String getName()
public String getPattern()
getPattern
in interface org.acegisecurity.acls.Permission
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.