com.atlassian.bamboo.security
Interface BambooPermissionManager
- All Known Implementing Classes:
- BambooPermissionManagerImpl
public interface BambooPermissionManager
Field Summary |
static org.acegisecurity.adapters.PrincipalAcegiUserToken |
SYSTEM_AUTHORITY
|
Method Summary |
java.util.Collection<java.lang.String> |
getAdminGroups()
Get a list of all the groups that have global administration permission |
java.util.Collection<org.acegisecurity.acls.Permission> |
getPermissionsForPlan(java.lang.String planKey)
|
boolean |
hasGlobalPermission(java.lang.String permission)
|
boolean |
hasPermission(org.acegisecurity.Authentication authentication,
java.lang.String permission,
java.lang.Object object)
|
boolean |
hasPermission(java.lang.String permission,
java.lang.Object object)
|
boolean |
hasPermission(java.lang.String username,
java.lang.String permission,
java.lang.Object object)
|
boolean |
hasPlanPermission(java.lang.String permission,
java.lang.String planKey)
|
boolean |
isEnableAnonymousAccess()
Deprecated. |
boolean |
isEnableSignup()
|
SYSTEM_AUTHORITY
static final org.acegisecurity.adapters.PrincipalAcegiUserToken SYSTEM_AUTHORITY
hasPermission
boolean hasPermission(org.acegisecurity.Authentication authentication,
java.lang.String permission,
java.lang.Object object)
hasPermission
boolean hasPermission(java.lang.String username,
java.lang.String permission,
java.lang.Object object)
hasPermission
boolean hasPermission(java.lang.String permission,
java.lang.Object object)
hasPlanPermission
boolean hasPlanPermission(java.lang.String permission,
java.lang.String planKey)
hasGlobalPermission
boolean hasGlobalPermission(java.lang.String permission)
isEnableSignup
boolean isEnableSignup()
isEnableAnonymousAccess
@Deprecated
boolean isEnableAnonymousAccess()
- Deprecated.
getPermissionsForPlan
java.util.Collection<org.acegisecurity.acls.Permission> getPermissionsForPlan(java.lang.String planKey)
getAdminGroups
java.util.Collection<java.lang.String> getAdminGroups()
- Get a list of all the groups that have global administration permission
- Returns:
- A list of all the groups that have global administration permission
Copyright © 2010 Atlassian. All Rights Reserved.