This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Preventing Hierarchy Changes

How to prevent changes to the page hierarchy?

    Normally, users who can create pages also can change the page hierarchy.

    If a user is only Visitor on a site, they cannot create pages and they cannot change the page hierarchy.

    The page hierarchy is stored in a hidden SharePoint list. The permissions on this list are usually inherited from the site, as are the permissions of the Site Pages library, where the actual pages are stored.

    How can users change the page hierarchy?

    Users can change the page hierarchy in explicit ways and without noticing it.

    Here’s what causes changes in the page hierarchy:

    • creating new SharePoint pages (this stores the relationship between parent and child page)
    • using the three-dot menu in the page tree panel to…
      • delete subtrees (deletes hierarchy as well)
      • make pages root
      • move pages to a different parent
    • using the page tree editor web part to move pages around

    How to prevent changes to the page hierarchy?

    You restrict access to the hidden hierarchy list, which is detected by WikiPakk.

    WikiPakk checks, if a user can create items in the hierarchy list. Only if that is possible, the context menu in the page tree panel will be shown.

    Here’s how to set unique permissions for the hierarchy list.

    Enter the hierarchy list URL (<SITEURL>/Lists/WikiTraccsPageTree) in the browser address bar; press Return

    Open the list's settings

    Click Permissions for this list

    Click Stop Inheriting Permissions

    Acknowledge that this list has unique permissions and configure permissions as needed

    Usability Note

    When users have no permission to change the hierarchy, they’ll notice that at several places:

    • the three-dot menu for tree nodes will not be shown in the page tree panel, preventing access to most of the hierarchy-changing features
    • the Page Tree Editor web part will show a rather blunt access denied error message when moving pages around