public class GroupPermissionsDelegate extends Object implements PermissionDelegate
| Constructor and Description |
|---|
GroupPermissionsDelegate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAdminister(com.atlassian.user.User user,
Object target)
Unsupported.
|
boolean |
canCreate(com.atlassian.user.User user,
Object container)
Determines if the specified user has permissions to create groups
|
boolean |
canCreateInTarget(com.atlassian.user.User user,
Class typeToCreate) |
boolean |
canEdit(com.atlassian.user.User user,
Object group)
Determines if the specified user can modify the membership (add/remove users) from the target group.
|
boolean |
canExport(com.atlassian.user.User user,
Object target)
Unsupported.
|
boolean |
canRemove(com.atlassian.user.User user,
Object target)
Determines if the specified user can remove the target group.
|
boolean |
canSetPermissions(com.atlassian.user.User user,
Object target)
Determines if the specified user can assign new permissions to or remove existing permissions from the target
group.
|
boolean |
canView(com.atlassian.user.User user) |
boolean |
canView(com.atlassian.user.User user,
Object target)
Determines if the specified user can view the target group.
|
void |
setSpacePermissionManager(SpacePermissionManager spacePermissionManager) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanMove, canRemoveHierarchypublic boolean canView(com.atlassian.user.User user,
Object target)
canView in interface PermissionDelegatepublic boolean canView(com.atlassian.user.User user)
canView in interface PermissionDelegatepublic boolean canEdit(com.atlassian.user.User user,
Object group)
canEdit in interface PermissionDelegategroup - group to be modified (type Group)public boolean canRemove(com.atlassian.user.User user,
Object target)
canRemove in interface PermissionDelegatepublic boolean canCreate(com.atlassian.user.User user,
Object container)
canCreate in interface PermissionDelegatecontainer - not required. Null can be specified here as it is not used at the moment.public boolean canCreateInTarget(com.atlassian.user.User user,
Class typeToCreate)
canCreateInTarget in interface PermissionDelegateuser - the user performing the createtypeToCreate - the class of the entity to createpublic boolean canExport(com.atlassian.user.User user,
Object target)
canExport in interface PermissionDelegatepublic boolean canSetPermissions(com.atlassian.user.User user,
Object target)
canSetPermissions in interface PermissionDelegatepublic boolean canAdminister(com.atlassian.user.User user,
Object target)
canAdminister in interface PermissionDelegatepublic void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
Copyright © 2003–2018 Atlassian. All rights reserved.