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, createPage, deleteContentRecordFromDB, deleteSpace, disableServiceAndWaitUntilItsReady, enableServiceAndWaitUntilItsReady, getDialectName, processLogRecords, removeAllChangeLogRecords, setUpBase, waitForServiceState, waitUntilApiIsEnabled
@Inject protected AdvancedBulkPermissionService advancedBulkPermissionService
public void init()
public void destroy() throws InterruptedException
InterruptedException
public void whenServiceIsDisabled()
public void testAnonymousUser() throws InterruptedException
InterruptedException
public void testUserWithoutAnyPermissions() throws InterruptedException
InterruptedException
public void testUserWithPermissions() throws InterruptedException
InterruptedException
public void testUserWithGroupsAndPermissions() throws InterruptedException
InterruptedException
public void regularUserIsNotSuperAdmin() throws InterruptedException
InterruptedException
public void adminIsSuperAdmin() throws InterruptedException
InterruptedException
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences