public class PageRestrictionsTest extends AbstractContentRestrictionTest
admin, ADMIN_PERMS, darkFeatureRest, flushIndexQueueRule, functestRpc, group, NO_RESTRICTIONS_PERMS, permissionsRpc, product, restClient, RESTRICTED_TOOLTIP, RESTRICTIONS_PERMS, restSession, rpcClient, rpcSession, space, systemRpc, themeRest, user, userWithoutRestrictionsPermission, userWithSpace, weirdUserName
Constructor and Description |
---|
PageRestrictionsTest() |
restrictToLoggedInUser, restrictToUserAndAssertIsRestricted, setAndThenRemoveRestrictionOnInfoPage, setup
public void testUserCanRestrictPageViewWithPageRestrictionsDialog()
public void testUserCanRestrictPageEditWithPageRestrictionsDialog()
public void testUserCanRemoveViewPageRestrictionOnPageInfoLink()
public void testUserCanRestrictPageEditWithPageInfoLink()
public void testUserCanRestrictViewOnExistingPageFullEdit()
public void testRestrictionsDialogOnExistingPageQuickEdit() throws Exception
Exception
public void testUserCanRestrictPageViewOnPageCreationWithWeirdUsername() throws Exception
Exception
public void testUserCanRestrictViewOnCopyPage() throws Exception
Exception
public void testUserCannotRestrictPageViewIfNoSpacePermission() throws Exception
Exception
public void testUserCannotRestrictPageEditIfNoSpacePermission()
public void testUserCannotEditRestrictionsIfPageHasOtherEditRestrictions()
public void testUserCanUseRestrictionsDialogOnViewPage()
public void testUserCanRestrictViewAddingGroupWithApostrophes()
public void testRestrictionsForGroupNamesWithSpaces()
public void testUserCanRestrictViewAddingUserAndGroupWithSameNameUsingAutocomplete()
public void testUserCanRestrictViewAddingUserDirectly()
public void testPermissionsKeptAfterSaveErrorExistingPage()
public void testPermissionsKeptAfterSaveErrorNewPage()
public void testRemoveEditPermissionsOnEditPage()
public void testChangingPageRestrictionsDoesNotTriggerDraftAutosave()
public void testDraftRestrictionsArePersisted()
public void testRestrictionsSetFromEditorPersistToPageOnSave()
public void testRestrictionsSetFromEditorPersistToPageOnCancel()
public void testMetadataRestrictionsAreUpdated()
public void testPermissionsRequiredToEditPageRestrictions()
public void testUserCannotRestrictionsThemselvesFromViewingOrEditingAPage()
public void testEditPermissionsInEditorDoesNotChangePageModifier()
public void testAddUnrestrictedPageUnderneathPageWithViewRestrictionsShowsLockIcon()
public void testAddUnrestrictedPageUnderneathPageWithEditRestrictionsDoesntShowLockIcon()
public void testPadlockUnrestrictedAfterLastPermissionRemoved()
public void testSaveButtonDisabledUntilStateChanged()
public void testMultipleUsersPermissionsExistingPage()
public void testEditPageRemovePermissionChangesCancelledFromDialog()
public void testAddUsersWithTextField()
public void testRemoveViewPermissionsOnEditPage()
public void testEscapeKeyClosesDropDown()
public void testCurrentUserAutomaticallyAddedOnModeChange()
public void testPermittedUserWithoutEditPagePermissionCantUpdate()
public void testParentPageWithInvertedComma()
public void testInheritedContentPermissionsOnCreatePage()
public void testSpaceAdminPermittedToEditPageRestrictions()
public void testCancelClearsChanges()
public void testDuplicateUser()
public void testPadlockRestrictedAfterFirstPermissionCreated()
public void testEditPageAddPermissionChangesCancelledFromDialog()
public void testPermissionDialogAvailableOnDifferentPageScreens()
public void testChangingPageDecoratorDoesNotLosePermissionsWhenEditingPage()
public void testEditToggleOnEditPageShowsDialog()
public void testPermittedUserWithoutSpaceEditPermissionCantUpdate()
public void testEveryoneRowShowsRelevantInformation()
Copyright © 2003–2018 Atlassian. All rights reserved.