|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.security.delegate.GroupPermissionsDelegate
public class GroupPermissionsDelegate
Class for checking operations on groups.
Constructor Summary | |
---|---|
GroupPermissionsDelegate()
|
Method Summary | |
---|---|
boolean |
canAdminister(com.atlassian.user.User user,
java.lang.Object target)
Unsupported. |
boolean |
canCreate(com.atlassian.user.User user,
java.lang.Object container)
Determines if the specified user has permissions to create groups |
boolean |
canCreateInTarget(com.atlassian.user.User user,
java.lang.Class typeToCreate)
|
boolean |
canEdit(com.atlassian.user.User user,
java.lang.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,
java.lang.Object target)
Unsupported. |
boolean |
canRemove(com.atlassian.user.User user,
java.lang.Object target)
Determines if the specified user can remove the target group. |
boolean |
canSetPermissions(com.atlassian.user.User user,
java.lang.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,
java.lang.Object target)
Determines if the specified user can view the target group. |
void |
setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupPermissionsDelegate()
Method Detail |
---|
public boolean canView(com.atlassian.user.User user, java.lang.Object target)
canView
in interface PermissionDelegate
public boolean canView(com.atlassian.user.User user)
canView
in interface PermissionDelegate
public boolean canEdit(com.atlassian.user.User user, java.lang.Object group)
canEdit
in interface PermissionDelegate
group
- group to be modified (type Group
)
public boolean canRemove(com.atlassian.user.User user, java.lang.Object target)
canRemove
in interface PermissionDelegate
public boolean canCreate(com.atlassian.user.User user, java.lang.Object container)
canCreate
in interface PermissionDelegate
container
- not required. Null can be specified here as it is not used at the moment.
public boolean canCreateInTarget(com.atlassian.user.User user, java.lang.Class typeToCreate)
canCreateInTarget
in interface PermissionDelegate
user
- the user performing the createtypeToCreate
- the class of the entity to create
public boolean canExport(com.atlassian.user.User user, java.lang.Object target)
canExport
in interface PermissionDelegate
public boolean canSetPermissions(com.atlassian.user.User user, java.lang.Object target)
canSetPermissions
in interface PermissionDelegate
public boolean canAdminister(com.atlassian.user.User user, java.lang.Object target)
canAdminister
in interface PermissionDelegate
public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |