Imports for Pages with Programming Rights

Last modified by Eleni Cojocariu-testing account on 2026/08/21 21:47

Explanation

When importing XWiki Pages into a subwiki rather than into the main wiki, the user performing the import needs Programming Rights for the scripts on those Pages to keep working. Two ways give them that right:

  • Import with a global user, that is a user defined on the main wiki, who has Programming Rights, and leave "Import as backup package" unchecked.
  • Import with a global user who has Programming Rights, keep "Import as backup package" checked, and make sure the user recorded in the XAR package also exists and has Programming Rights.

Taking neither way saves every imported Page without Programming Rights, and the scripts on those Pages stay broken until a user who has the right saves them again.

Related

Get Connected