public class IntegrationTestDenormalisedContentPermissionAPI extends AbstractDenormalisedPermissionsIntegrationTestBase
admin, bulkPermissionService, contentPermissionManager, denormalisedContentChangeLogDao, denormalisedPermissionsDdlExecutor, denormalisedPermissionStateManager, denormalisedSpaceChangeLogDao, eventPublisher, pageManager, SERVICE_READY_TIMEOUT, spaceDao, spaceManager, spacePermissionManager, state
Constructor and Description |
---|
IntegrationTestDenormalisedContentPermissionAPI() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
init() |
void |
testGetAllVisiblePagesIfPagesAreRestricted()
Restrict one page for the admin and check that admin still can view all the pages
|
void |
testGetAllVisiblePagesIfSpaceIsRestricted() |
void |
testGetAllVisiblePagesInSpace() |
void |
testGetVisibleChildPagesViaDenormalisedPermissions() |
void |
testGetVisibleChildPagesViaFallbackService() |
void |
testGetVisibleTopLevelPagesViaDenormalisedPermissions() |
void |
testGetVisibleTopLevelPagesViaFallbackService() |
clearEverything, createPage, deleteContentRecordFromDB, deleteSpace, disableServiceAndWaitUntilItsReady, enableServiceAndWaitUntilItsReady, getDialectName, processLogRecords, removeAllChangeLogRecords, setUpBase, waitForServiceState, waitUntilApiIsEnabled
public IntegrationTestDenormalisedContentPermissionAPI()
public void init()
public void destroy()
public void testGetVisibleChildPagesViaFallbackService()
public void testGetVisibleChildPagesViaDenormalisedPermissions() throws InterruptedException
InterruptedException
public void testGetVisibleTopLevelPagesViaFallbackService() throws InterruptedException
InterruptedException
public void testGetVisibleTopLevelPagesViaDenormalisedPermissions() throws InterruptedException
InterruptedException
public void testGetAllVisiblePagesInSpace() throws InterruptedException
InterruptedException
public void testGetAllVisiblePagesIfSpaceIsRestricted() throws InterruptedException
InterruptedException
public void testGetAllVisiblePagesIfPagesAreRestricted() throws InterruptedException
InterruptedException
Copyright © 2003–2022 Atlassian. All rights reserved.