public class PermissionsAcceptanceTestHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_GROUP_PERMISSION |
Constructor and Description |
---|
PermissionsAcceptanceTestHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
assertUserHasNoPermissionsInViewPermissionsTable(User user)
Checks that the user has no entry in the form table when viewing permissions.
|
static void |
removeViewPermissions(String pageTitle)
Deprecated.
since 5.8 Use
ConfluenceRpc.revokeContentPermission(com.atlassian.confluence.it.content.security.ContentPermission, com.atlassian.confluence.it.ContentEntity)
to remove permissions |
public static final String ADMIN_GROUP_PERMISSION
@Deprecated public static void removeViewPermissions(String pageTitle)
ConfluenceRpc.revokeContentPermission(com.atlassian.confluence.it.content.security.ContentPermission, com.atlassian.confluence.it.ContentEntity)
to remove permissionspublic static void assertUserHasNoPermissionsInViewPermissionsTable(User user)
user
- the user expected to not have any permissionsCopyright © 2003–2018 Atlassian. All rights reserved.