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, createPage, deleteContentRecordFromDB, deleteSpace, disableServiceAndWaitUntilItsReady, enableServiceAndWaitUntilItsReady, getDialectName, processLogRecords, removeAllChangeLogRecords, setUpBase, waitForServiceState, waitUntilApiIsEnabled
public IntegrationTestDenormalisedSpacePermissions()
public void init() throws InterruptedException
InterruptedException
public void destroy() throws InterruptedException
InterruptedException
public void checkAnonymousAccessWithGlobalAnonymousEnabled() throws InterruptedException
InterruptedException
public void checkAnonymousAccessWithGlobalAnonymousDisabled() throws InterruptedException
InterruptedException
public void checkAccessForUnlicencedUsers() throws InterruptedException
InterruptedException
public void checkAccessForRegularUsers() throws InterruptedException
InterruptedException
public void adminShouldBeAbleToViewRestrictedSpaces() throws InterruptedException
InterruptedException
public void allSpaceKeysShouldBeVisibleForAdmin() throws InterruptedException
InterruptedException
public void checkThatIfTheSpaceWasChangedFastPermissionsWillReturnProperResults() throws InterruptedException
InterruptedException
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences