public class IntegrationTestDenormalisedContentPermissionAPI extends AbstractDenormalisedPermissionsIntegrationTestBase
admin, bulkPermissionService, contentPermissionManager, denormalisedContentChangeLogDao, denormalisedPermissionsDdlExecutor, denormalisedPermissionStateManager, denormalisedSpaceChangeLogDao, eventPublisher, pageManager, SERVICE_READY_TIMEOUT, spaceDao, spaceManager, spacePermissionManager, state, userAccessor| 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, waitUntilApiIsEnabledpublic IntegrationTestDenormalisedContentPermissionAPI()
public void init()
public void destroy()
public void testGetVisibleChildPagesViaFallbackService()
public void testGetVisibleChildPagesViaDenormalisedPermissions()
throws InterruptedException
InterruptedExceptionpublic void testGetVisibleTopLevelPagesViaFallbackService()
throws InterruptedException
InterruptedExceptionpublic void testGetVisibleTopLevelPagesViaDenormalisedPermissions()
throws InterruptedException
InterruptedExceptionpublic void testGetAllVisiblePagesInSpace()
throws InterruptedException
InterruptedExceptionpublic void testGetAllVisiblePagesIfSpaceIsRestricted()
throws InterruptedException
InterruptedExceptionpublic void testGetAllVisiblePagesIfPagesAreRestricted()
throws InterruptedException
InterruptedExceptionCopyright © 2003–2021 Atlassian. All rights reserved.