public class PageRestrictionsTest extends AbstractContentRestrictionTest
weirdNameUser, whiteSpaceUser
darkFeaturesHelper, methodRules, name, product, rpc, serverStateManager, testData, userHelper
Constructor and Description |
---|
PageRestrictionsTest() |
restrictToLoggedInUser, restrictToUserAndAssertIsRestricted, setAndThenRemoveRestrictionOnInfoPage
start, stop
public void setUp() throws Exception
setUp
in class AbstractContentRestrictionTest
Exception
public void testUserCanRestrictPageViewWithPageRestrictionsDialog()
public void testUserCanRestrictPageEditWithRestrictionsDialog()
public void testUserCanRestrictPageEditWithPageRestrictionsDialog()
public void testUserCanRemoveViewPageRestrictionOnPageInfoLink()
public void testUserCanRestrictPageEditWithPageInfoLink()
public void testUserCanRestrictViewOnExistingPageFullEdit()
public void testRestrictionsDialogOnExistingPageQuickEdit() throws Exception
Exception
public void testUserCanRestrictViewInDocTheme() throws Exception
Exception
public void testUserCanRestricPageViewOnPageCreationWithWeirdUsername() throws Exception
Exception
public void testUserCanRestrictViewOnCopyPage() throws Exception
Exception
public void testUserCanRestrictViewWithRestrictionsDialogForWhiteSpaceUserUsingAutocomplete()
public void testUserCannotRestrictPageViewIfNoSpacePermission() throws Exception
Exception
public void testUserCannotRestrictPageEditIfNoSpacePermission()
public void testUserCannotEditRestrictionsIfPageHasOtherEditRestrictions()
public void testUserCanUseRestrictionsDialogOnViewPage()
public void testUserCanRestrictViewAddingUserFromPopupWindow()
public void testUserCanRestrictViewAddingGroupFromPopupWindow()
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()
Copyright © 2003–2015 Atlassian. All rights reserved.