| The manual test is here: Export Import a document with defined permissions Existing automated coverage
Missing automated coverage
- Create nested page 1/2/3/4 (no intermediate pages), restrict View to XWikiAdminGroup from Administer Page > Rights: Page
- Create a global user and assert that user cannot view page 4
- As Admin, export page 4 with More actions > Export > Export as XAR
- Create a subwiki that allows global users and import the XAR from its Administer Wiki > Content > Import
- Assert the imported page carries the XWikiRights object, is viewable by Admin and not viewable by the global user
Suggested location: xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-test/xwiki-platform-administration-test-docker/src/test/it/org/xwiki/administration/test/ui/XARImportIT.java Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a). |