public class IntegrationTestDenormalisedSpacePermissions extends AbstractDenormalisedPermissionsIntegrationTestBase
admin, bulkPermissionService, contentPermissionManager, denormalisedContentChangeLogDao, denormalisedPermissionsDdlExecutor, denormalisedPermissionStateManager, denormalisedSpaceChangeLogDao, eventPublisher, pageManager, SERVICE_READY_TIMEOUT, spaceDao, spaceManager, spacePermissionManager, state| Constructor and Description |
|---|
IntegrationTestDenormalisedSpacePermissions() |
| Modifier and Type | Method and Description |
|---|---|
void |
adminShouldBeAbleToViewRestrictedSpaces() |
void |
allSpaceKeysShouldBeVisibleForAdmin() |
void |
checkAccessForRegularUsers()
Tests regular users behaviour
|
void |
checkAccessForUnlicencedUsers()
Tests licenced users behaviour
|
void |
checkAnonymousAccessWithGlobalAnonymousDisabled()
Check that anonymous user does not have access to neither a space without "anonymous" access,
nor a space with "anonymous" access.
|
void |
checkAnonymousAccessWithGlobalAnonymousEnabled()
Check that anonymous user does not have access to a space without "anonymous" access,
but has access to a space with "anonymous" access.
|
void |
checkThatIfTheSpaceWasChangedFastPermissionsWillReturnProperResults()
Check the case: space permissions were changed but fast permissions haven't processed those changes yet.
|
void |
destroy() |
void |
init() |
clearEverything, createPage, deleteContentRecordFromDB, deleteSpace, disableServiceAndWaitUntilItsReady, enableServiceAndWaitUntilItsReady, getDialectName, processLogRecords, removeAllChangeLogRecords, setUpBase, waitForServiceState, waitUntilApiIsEnabledpublic IntegrationTestDenormalisedSpacePermissions()
public void init()
throws InterruptedException
InterruptedExceptionpublic void destroy()
throws InterruptedException
InterruptedExceptionpublic void checkAnonymousAccessWithGlobalAnonymousEnabled()
throws InterruptedException
InterruptedExceptionpublic void checkAnonymousAccessWithGlobalAnonymousDisabled()
throws InterruptedException
InterruptedExceptionpublic void checkAccessForUnlicencedUsers()
throws InterruptedException
InterruptedExceptionpublic void checkAccessForRegularUsers()
throws InterruptedException
InterruptedExceptionpublic void adminShouldBeAbleToViewRestrictedSpaces()
throws InterruptedException
InterruptedExceptionpublic void allSpaceKeysShouldBeVisibleForAdmin()
throws InterruptedException
InterruptedExceptionpublic void checkThatIfTheSpaceWasChangedFastPermissionsWillReturnProperResults()
throws InterruptedException
InterruptedExceptionCopyright © 2003–2022 Atlassian. All rights reserved.