Class SpacePermissions
- java.lang.Object
-
- com.atlassian.confluence.it.space.SpacePermissions
-
public final class SpacePermissions extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGroupPermissionsRow(Group group)
void
addUserPermissionsRow(User user)
void
editPermissions()
void
grantPermission(SpacePermission permission, Group group)
void
grantPermission(SpacePermission permission, User user)
void
grantPermissionOnRow(SpacePermission permission, Entity entity)
boolean
hasAnyPermission(Entity entity)
boolean
hasExactPermissions(Entity entity, Collection<SpacePermission> expectedPermissions)
boolean
hasPermission(SpacePermission permission, Entity entity)
void
revokePermission(SpacePermission permission, Entity entity)
static SpacePermissions
view(Space space)
static SpacePermissions
view(net.sourceforge.jwebunit.junit.WebTester tester, Space space)
static SpacePermissions
viewDefaults()
static SpacePermissions
viewDefaults(net.sourceforge.jwebunit.junit.WebTester tester)
-
-
-
Method Detail
-
viewDefaults
public static SpacePermissions viewDefaults()
-
viewDefaults
public static SpacePermissions viewDefaults(net.sourceforge.jwebunit.junit.WebTester tester)
-
view
public static SpacePermissions view(Space space)
-
view
public static SpacePermissions view(net.sourceforge.jwebunit.junit.WebTester tester, Space space)
-
hasPermission
public boolean hasPermission(SpacePermission permission, Entity entity)
-
hasExactPermissions
public boolean hasExactPermissions(Entity entity, Collection<SpacePermission> expectedPermissions)
-
hasAnyPermission
public boolean hasAnyPermission(Entity entity)
-
grantPermission
public void grantPermission(SpacePermission permission, User user)
-
grantPermission
public void grantPermission(SpacePermission permission, Group group)
-
editPermissions
public void editPermissions()
-
addGroupPermissionsRow
public void addGroupPermissionsRow(Group group)
-
addUserPermissionsRow
public void addUserPermissionsRow(User user)
-
grantPermissionOnRow
public void grantPermissionOnRow(SpacePermission permission, Entity entity)
-
revokePermission
public void revokePermission(SpacePermission permission, Entity entity)
-
-