[Deprecated] Control the permissions of the documents
Last modified by Oana Florea on 2022/05/03 09:28
Steps to reproduce
- Register 2 users (U1, U2)
- With U1 create http://127.0.0.1:8080/xwiki/bin/view/a/b/c/d/ with all the parent pages created
- With Admin user go to http://127.0.0.1:8080/xwiki/bin/admin/a/WebPreferences
- Click on Rights: Page & Children
- Click on Users
- Deny View rights for U2
- Login with U2 and check the Pages Macro or try to access the pages from the URL (Check the expected results)
- Login with U1 and go to http://127.0.0.1:8080/xwiki/bin/view/a/b/c/
- Go to Access Rights by accessing this URL http://127.0.0.1:8080/xwiki/bin/edit/a/b/c/WebHome?editor=rights
- Click on Users
- Grant Edit right for U2
- Login with U2
- Access the page http://127.0.0.1:8080/xwiki/bin/view/a/b/c/ (Check the expected results)
- With U2 logged in try to access http://127.0.0.1:8080/xwiki/bin/view/a/b/c/d/ (Check the expected results)
Expected results
Step 7: You will not see the pages in Pages Macro and you can't access none of the pages created.
Step 13: You can see C page and the rights are working as expected. In the breadcrumb you can see the correct path but you can't access neither of the parents.
Step 14: You can't access page D.
Results
per page of Previous Page Next Page Page | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
Previous Page Next Page Page |