|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
isAdmin(java.lang.String username)
Returns true if the user is an admin, false if not |
boolean |
isEnableAnonymousAccess()
Deprecated. |
boolean |
isEnableSignup()
|
boolean |
isSystemAdmin(java.lang.String username)
Returns true if the user is a sysadmin, false if not |
Field Detail |
---|
static final org.acegisecurity.adapters.PrincipalAcegiUserToken SYSTEM_AUTHORITY
Method Detail |
---|
boolean hasPermission(org.acegisecurity.Authentication authentication, java.lang.String permission, java.lang.Object object)
boolean hasPermission(java.lang.String username, java.lang.String permission, java.lang.Object object)
boolean hasPermission(java.lang.String permission, java.lang.Object object)
boolean hasPlanPermission(java.lang.String permission, java.lang.String planKey)
boolean hasGlobalPermission(java.lang.String permission)
boolean isEnableSignup()
@Deprecated boolean isEnableAnonymousAccess()
java.util.Collection<org.acegisecurity.acls.Permission> getPermissionsForPlan(java.lang.String planKey)
java.util.Collection<java.lang.String> getAdminGroups()
boolean isAdmin(java.lang.String username)
username
- the user
boolean isSystemAdmin(java.lang.String username)
username
- the user
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |