Wiki source code of Export Import a document with defined permissions
Last modified by Andreea Tarata on 2025/11/03 15:54
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | 1. [[Create a nested document with multiple levels>>doc:Nested Spaces.Create a Nested Document using Add button]] 1.2.3.4 (don't need to create the intermediary documents) | ||
| 2 | 1. On document 4, go to Administer Page | ||
| 3 | 1. Grant View rights only for XWikiAdminGroup from 'Rights: Page' | ||
| 4 | 1. Create a new global user (Administer Wiki > Users > Add new user) | ||
| 5 | 1. Log-out and visit page 4 logged in with the newly created user | ||
| 6 | 1. Log back in as Admin and export document 4 as XAR (3 Dots Menu > Export > Export as XAR) | ||
| 7 | 1. Create a new subwiki that allows global users on the wiki | ||
| 8 | 1. On the subwiki created, go to Administer Wiki > Content > Import, then upload and import the XAR previously exported from the main wiki | ||
| 9 | 1. Access the document just imported on the subwiki with both the Admin and the newly created user |