test.plugin
Class DummyPermissionDelegate
java.lang.Object
com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate
test.plugin.DummyPermissionDelegate
- All Implemented Interfaces:
- PermissionDelegate
public class DummyPermissionDelegate
- extends AbstractPermissionsDelegate
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyPermissionDelegate
public DummyPermissionDelegate()
getSpaceFrom
protected Space getSpaceFrom(Object target)
- Specified by:
getSpaceFrom in class AbstractPermissionsDelegate
canView
public boolean canView(com.atlassian.user.User user,
Object target)
- Returns:
- true if user can view the specified target.
canEdit
public boolean canEdit(com.atlassian.user.User user,
Object target)
canSetPermissions
public boolean canSetPermissions(com.atlassian.user.User user,
Object target)
canRemove
public boolean canRemove(com.atlassian.user.User user,
Object target)
canExport
public boolean canExport(com.atlassian.user.User user,
Object target)
canAdminister
public boolean canAdminister(com.atlassian.user.User user,
Object target)
canCreate
public boolean canCreate(com.atlassian.user.User user,
Object container)
- Returns:
- true if the specified user can create new instances of the target type in the specified container.
Copyright © 2003–2015 Atlassian. All rights reserved.