Last modified by Vincent Massol on 2024/11/19 16:15

Show last authors
1 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.
2
3 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
4
5 See http://extensions.xwiki.org/xwiki/bin/view/Extension/XAR%20Module%20Specifications#Hpackage.xml for the current list of standard types.
6 As a remainder:
7
8 * default: edit and delete are not allowed and a 3-way merge is applied to the document during upgrades
9 * configuration: edit is allowed and the document is never upraded
10 * demo: edit and delete are allowed and the document is upgraded only if it's not been customized
11 * customizable (since XWiki 10.4): edit is allowed and the document is upgraded only if it's not been customized
12 * 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
13
14 {{info}}
15 Keep in mind that "not allowed" does not mean "impossible", for trusted users it usually just means "you get a big warning you are about to do something dangerous".
16 {{/info}}
17
18 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):
19
20 |=Page|=Type|=Reason
21 |Sandbox sub pages|demo|\\
22 |Sanbox.WebHome|customizable|not demo because deleting it would create a broken link in the application panel
23 |Color themes|demo|[[discussion>>https://markmail.org/message/altvebk3uucolen7]]
24 |XWiki.DefaultSkin|demo|\\
25 |Main.WebHome|demo|[[discussion>>https://markmail.org/message/3nwqbzxp2sjwrgut]]
26 |Dashboard.WebHome|customizable|not demo because deleting it would create a broken link in the application panel
27 |XWiki.XWikiAdminGroup|configuration|https://jira.xwiki.org/browse/XWIKI-15322
28 |XWiki.ResetPasswordMailContent|?|[[still discussed>>https://markmail.org/message/rqtyd7ldgibzllmv]]
29 |XWiki.WatchlistMessage|?|\\
30 |XWiki.WatchlistRealtimeMessage|?|\\
31 |XWiki.SharePage|?|\\
32 |XWiki.Notifications.MailTemplate|?|
33
34 == Pages specific to jetty/hsqldb/flavor package ==
35
36 |=Page|=Type
37 |XWiki.Admin|demo
38 |XWiki.XWikiAllGroup|configuration

Get Connected