Move document to new parent with existing rights

Last modified by Gabriela Anechitoaei on 2022/05/03 09:28

Home Nested Spaces Home Run Test

Steps to reproduce

  1. Create a top-level nested document http://localhost:8080/xwiki/bin/view/1/
  2. Go to Administer page - Rights: Page & Children 
  3. Give view rights to the XWikiAdminGroup
  4. Create another nested document http://localhost:8080/xwiki/bin/view/a/b/
  5. Create parent document a as well
  6. Move document b to be a child of 1
  7. Create a new user (Administer Wiki > Users > Add new user)
  8. Log in with the new user and try to access the page http://localhost:8080/xwiki/bin/view/1/
  9. Go to http://localhost:8080/xwiki/bin/view/1/b/ with the new simple user created

Expected results

  1. b.WebHome has been moved to space 1.
  2. Page 1.b can't be accessed with the new user. The rights defined at space level 1 apply to the newly copied document. The permissions from the new parent document (1) were inherited when document b was moved, so that it can automatically take advantage of the new parent 1's document permission. (PE7)


per page of Page
Product App Browsers Databases Servlet Containers Tested By Tested On Jira Issue
The environment prevents the table from loading data.

Get Connected