public class IntegrationTestGetUserSids extends AbstractDenormalisedPermissionsIntegrationTestBase
| Modifier and Type | Field and Description |
|---|---|
protected AdvancedBulkPermissionService |
advancedBulkPermissionService |
admin, bulkPermissionService, contentPermissionManager, denormalisedContentChangeLogDao, denormalisedPermissionsDdlExecutor, denormalisedPermissionStateManager, denormalisedSpaceChangeLogDao, eventPublisher, pageManager, SERVICE_READY_TIMEOUT, spaceDao, spaceManager, spacePermissionManager, state| Constructor and Description |
|---|
IntegrationTestGetUserSids() |
| Modifier and Type | Method and Description |
|---|---|
void |
adminIsSuperAdmin()
Check that isUserSuperAdmin returns true for a user from confluence-administrators group.
|
void |
destroy() |
void |
init() |
void |
regularUserIsNotSuperAdmin()
Check that isUserSuperAdmin returns false for a regular user.
|
void |
testAnonymousUser() |
void |
testUserWithGroupsAndPermissions()
We have a user with two groups.
|
void |
testUserWithoutAnyPermissions()
We have a user without any groups and assigned permissions.
|
void |
testUserWithPermissions()
We have a user without any groups buy with assigned space permission.
|
void |
whenServiceIsDisabled()
When service is disabled, this method should throw an exception
|
clearEverything, createPage, deleteContentRecordFromDB, deleteSpace, disableServiceAndWaitUntilItsReady, enableServiceAndWaitUntilItsReady, getDialectName, processLogRecords, removeAllChangeLogRecords, setUpBase, waitForServiceState, waitUntilApiIsEnabled@Inject protected AdvancedBulkPermissionService advancedBulkPermissionService
public void init()
public void destroy()
throws InterruptedException
InterruptedExceptionpublic void whenServiceIsDisabled()
public void testAnonymousUser()
throws InterruptedException
InterruptedExceptionpublic void testUserWithoutAnyPermissions()
throws InterruptedException
InterruptedExceptionpublic void testUserWithPermissions()
throws InterruptedException
InterruptedExceptionpublic void testUserWithGroupsAndPermissions()
throws InterruptedException
InterruptedExceptionpublic void regularUserIsNotSuperAdmin()
throws InterruptedException
InterruptedExceptionpublic void adminIsSuperAdmin()
throws InterruptedException
InterruptedExceptionCopyright © 2003–2021 Atlassian. All rights reserved.