Wiki source code of [Deprecated] Control the permissions of the documents
Last modified by Ilie Andriuta on 2026/10/02 11:47
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
1.1 | 1 | 1. Register 2 users (U1, U2) |
| 2 | 1. With U1 create http:~/~/127.0.0.1:8080/xwiki/bin/view/a/b/c/d/ with all the parent pages created | ||
| 3 | 1. With Admin user go to http:~/~/127.0.0.1:8080/xwiki/bin/admin/a/WebPreferences | ||
![]() |
3.1 | 4 | 1. Click on Rights: Page & Children |
![]() |
1.1 | 5 | 1. Click on Users |
| 6 | 1. Deny View rights for U2 | ||
| 7 | 1. Login with U2 and check the Pages Macro or try to access the pages from the URL (Check the expected results) | ||
| 8 | 1. Login with U1 and go to http:~/~/127.0.0.1:8080/xwiki/bin/view/a/b/c/ | ||
![]() |
2.1 | 9 | 1. Go to Access Rights by accessing this URL http:~/~/127.0.0.1:8080/xwiki/bin/edit/a/b/c/WebHome?editor=rights |
![]() |
1.1 | 10 | 1. Click on Users |
| 11 | 1. Grant Edit right for U2 | ||
| 12 | 1. Login with U2 | ||
| 13 | 1. Access the page http:~/~/127.0.0.1:8080/xwiki/bin/view/a/b/c/ (Check the expected results) | ||
| 14 | 1. With U2 logged in try to access http:~/~/127.0.0.1:8080/xwiki/bin/view/a/b/c/d/ (Check the expected results) |
