Which XAR entry type for which page
Description
10.3 introduce the concept of XAR entry type which allow to configure the protection and upgrade behavior of some of the standard pages. In 10.3 most of the pages are protected but there is pages for which it's not required or which should have a different upgrade behavior.
In 10.3 you get a warning when you try to edit a protected page. Here is a still running discussion about what kind of protection we want by default in the future: https://markmail.org/message/6buamauztudg6h4t
See http://extensions.xwiki.org/xwiki/bin/view/Extension/XAR%20Module%20Specifications#Hpackage.xml for the current list of standard types.
As a remainder:
- default: edit and delete are not allowed and a 3-way merge is applied to the document during upgrades
- configuration: edit is allowed and the document is never upraded
- demo: edit and delete are allowed and the document is upgraded only if it's not been customized
- customizable (since XWiki 10.4): edit is allowed and the document is upgraded only if it's not been customized
- home: Edit is allowed and the document is upgraded only if it's not been customized. Target use case was Main.WebHome which does not use it anymore so we might get rid of it
Here is a list of the standard pages which don't have the default type (or might not have the default once discussion is over):
Page | Type | Reason |
---|---|---|
Sandbox sub pages | demo | |
Sanbox.WebHome | customizable | not demo because deleting it would create a broken link in the application panel |
Color themes | demo | discussion |
XWiki.DefaultSkin | demo | |
Main.WebHome | demo | discussion |
Dashboard.WebHome | customizable | not demo because deleting it would create a broken link in the application panel |
XWiki.XWikiAdminGroup | configuration | https://jira.xwiki.org/browse/XWIKI-15322 |
XWiki.ResetPasswordMailContent | ? | still discussed |
XWiki.WatchlistMessage | ? | |
XWiki.WatchlistRealtimeMessage | ? | |
XWiki.SharePage | ? | |
XWiki.Notifications.MailTemplate | ? |
Pages specific to jetty/hsqldb/flavor package
Page | Type |
---|---|
XWiki.Admin | demo |
XWiki.XWikiAllGroup | configuration |