public class EditGlobalPermissionsAcceptanceTest extends AbstractConfluenceAcceptanceTest
todo: Make this class work with LDAP. It's pretty broken at the moment.
GlobalAdminAcceptanceTest
Modifier and Type | Field and Description |
---|---|
static List<GlobalPermission> |
GLOBAL_PERMISSIONS
The set of permissions available on the "Edit Global Permissions" screen, minus system-administrator.
|
DASHBOARD_RECENT_UPDATES_URL, logAdjuster, ONBOARDING_PLUGIN, rpc, TEST_ADMIN, TEST_BLOG, TEST_COMMENT, TEST_GROUP1, TEST_GROUP2, TEST_PAGE, TEST_SPACE, TEST_SPACE2, TEST_USER1, TEST_USER2, TESTBLOG_CONTENT, TESTBLOG_TITLE, testData, TESTPAGE_COMMENT, TESTPAGE_CONTENT, TESTPAGE_TITLE, TESTSPACE_KEY, TESTSPACE_TITLE, TESTSPACE2_KEY, TESTSPACE2_TITLE, webTester, wikiMarkupRpc
Constructor and Description |
---|
EditGlobalPermissionsAcceptanceTest() |
adminConsole, attachments, baseUrlSelector, createSpaceViaWebUI, createTestSpaceViaWebUI, createTestUser, darkFeatures, directoryConfig, generateFile, getAppContext, getBaseUrl, getConfiguredBaseUrl, getPluginHelper, getServerStateManager, goToBlogCollector, logins, logout, pages, plugins, rebuildIndex, setUpTestNG, substituteForNodeBaseUrl, tearDown, tearDownTestNG, users, viewHomepage, viewSpaceAdmin, viewSpacePermissions, viewSpaceSummary, viewSpaceTools, viewTrash, watchSpace, webAppContextPath
runBare, setExceptionTransformer
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toString
public static final List<GlobalPermission> GLOBAL_PERMISSIONS
public void setUp() throws Exception
AbstractConfluenceAcceptanceTest
setUp
in class AbstractConfluenceAcceptanceTest
Exception
- from superpublic void testCanGiveUserConfluenceAdministratorPermission() throws Exception
Exception
public void testCanGrantUserSystemAdministratorPermissionAsSystemAdministrator() throws Exception
Exception
public void testCannotGrantUserSystemAdministratorPermissionAsConfluenceAdministrator() throws Exception
Exception
public void testCanRemoveUserSystemAdministratorPermissionAsSystemAdministrator() throws Exception
Exception
public void testCannotRemoveUserSystemAdministratorPermissionAsConfluenceAdministrator() throws Exception
Exception
public void testCanGrantGroupSystemAdministratorPermissionAsSystemAdministrator() throws Exception
Exception
public void testCannotGrantGroupSystemAdministratorPermissionAsConfluenceAdministrator() throws Exception
Exception
public void testCanRemoveGroupSystemAdministratorPermissionAsSystemAdministrator() throws Exception
Exception
public void testCannotRemoveGroupSystemAdministratorPermissionAsConfluenceAdministrator() throws Exception
Exception
public void testCanGiveGroupConfluenceAdministratorPermission() throws Exception
Exception
public void testCanRemoveConfluenceAdministratorPermissionFromUser() throws Exception
Exception
public void testCanRemoveConfluenceAdministratorPermissionFromGroup() throws Exception
Exception
public void testCannotRemoveLastSystemAdministratorPermission()
public void testCannotRevokeConfluenceUsePermissionFromSystemAdminAsConfAdmin()
public void testCanRevokeConfluenceUsePermissionFromSysAdminAsAnotherSysAdmin()
public void testCannotSetPermissionsOnSysAdminAsConfAdmin()
public void testCannotSetPermissionsOnSysAdminGroupAsConfAdmin()
public void testPermissionTabs()
public void testCanSetPermissionsOnNormalUsersAsConfAdmin()
public void testCanSetPermissionsOnNormalGroupsAsConfAdmin()
public void testCanUseRequiredForAnonymousPermissions()
public void testCanSetAnonymousUsePermission()
Copyright © 2003–2015 Atlassian. All rights reserved.