Wiki source code of [Deprecated] Control the permissions of the documents
Last modified by Oana Florea on 2022/05/03 09:28
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 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 | ||
| 4 | 1. Click on Rights: Page & Children | ||
| 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/ | ||
| 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 | ||
| 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) |