Imports for Pages with Programming Rights
Last modified by Eleni Cojocariu on 2026/02/05 17:22
Content
Explanation
When importing XWiki Pages that is not the main wiki, you need to ensure that the user performing the import has the necessary Programming Rights (PR) to maintain the functionality of any scripts on those Pages.
There are two options to handle this:
- Import with a global user (a user defined on the main wiki) who has Programming Rights (PR) and UNCHECK the "backup pack" option.
- Import with a global user who has PR and keep the "Import as backup package" option enabled, but make sure the user defined in the XAR package exists and has PR.
If neither option is selected, all imported Pages will be saved without PR, and scripts will not work until they are resaved under a user with Programming Rights.