Override a right at page level

Last modified by Ilie Andriuta on 2023/10/24 11:04

Home Nested Spaces Home Run Test

Steps to reproduce

Preconditions: Admin has to be advanced to create a terminal page.

  1. Create the following nested pages http://localhost:8080/xwiki/bin/view/a/b/c/d/
  2. Go to More Actions > Administer Page for page d
  3. Give view rights only to the XWikiAdminGroup from Users & Rights > Rights: Page
  4. Go to http://localhost:8080/xwiki/bin/view/a/b/c/d/
  5. Click on the create button
  6. Add a child terminal page "test"
  7. Go to the page Access Rights from Edit > Access Rights
  8. Give view rights for XWikiAllGroup
  9. Create a new user (Administer Wiki > Users > Add new user)
  10. Logout from Admin and login with the previously created user
  11. Go to http://localhost:8080/xwiki/bin/view/a/b/c/d/
  12. Go to http://localhost:8080/xwiki/bin/view/a/b/c/d/test

Expected results

Step 11: The page d couldn't be accessed with the newly created user

Step 12. The page test could be accessed with the newly created user

The permissions defined on document test could be set in order to override inherited permissions from parent d, so that can have explicit control over who can access or modify the documents (PE5)

Results

per page of Page
Jira Issue
The environment prevents the table from loading data.
 
Page

Get Connected