XWiki Standard 9.8.1 Documentation » Rights Overview » Set the Page Access Rights

Set the Page Access Rights

XWiki introduced the possibility to create pages inside other pages - this new feature is called Nested Pages and comes with 2 new concepts:

  • Nested Page or Non-Terminal Page represents a wiki page that can have child pages.
  • Non-Nested Page or Terminal Page is a wiki page with no child pages and it is usually created by applications and scripts.

This is the reason why we don't set permissions for spaces and pages any more, but for nested pages and their children. For more details concerning nested pages, please refer to the "Wiki Pages" documentation listed under "Related Pages".

Also, a new "Script" right has been added to allow controlling who has the right to write scripts. Anyone with edit rights can write a script in a wiki page. However, when the page is rendered, the script will only execute if the last author of the page has the "Script" right.

Set the Permission Scheme for a Nested Page and Its Children

To edit the access rights for a nested page, simply navigate to that page, click the MoreActionsMenu.png button, then on "Administer Page".

PageMenuNonTerminal.png

You will be redirected to the preferences page were there are 2 options in the menu on the left under "Users & Rights":

  • Rights: Page & Children - allows to set the permissions scheme that will apply on the current page and all its children.

    PageAndChildrenRights.png

  • Rights: Page - allows to set the permissions scheme that will apply on the current (parent) page only.

    PageRights.png

Click once on the check-box to grant a right, twice to deny it and a third time to clear the right and use the default values. Note that rights entries are saved automatically.

The same process applies on the old spaces created before version 7.2. 

Set the Permission Scheme for a Terminal Page

Terminal pages don't have a preferences document - this is the reason why, in order to set the access rights for a single page, you will have to click the "Edit" button, then choose "Access rights". 

PageMenuTerminal.png

Just like in the previous section, click once on the check-box to grant a right, twice to deny it and a third time to clear the right and use the default values.

PageRightsTerminal.png

Default Values for Page Rights

When a right has been allowed at a given level, it gets explicitly denied to anyone else at the same level.

Nested Page and Its Children

 Wiki Right Default Value Comments
VIEWALLOWED
EDITALLOWEDEDIT rights at page level also imply VIEW rights
COMMENTALLOWED
SCRIPTDENIED
DELETEDENIED
ADMINDENIED
  • ADMIN rights at page level also imply the VIEW, EDIT, COMMENT and DELETE rights.
  • The rights implied by ADMIN rights will not be overridden by a denial at a lower level.

Single Page

 Wiki Right Default Value Comments
VIEWALLOWED
EDITALLOWEDEDIT rights at page level also imply VIEW rights
COMMENTALLOWED
SCRIPTDENIED
DELETEDENIED

   

Related Pages

Trying to decide between Cloud and On Premise? See the comparison on the XWiki Help Center.

Search this space