Requirements
 Completed
 

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
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".

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):

PageTypeReason
Sandbox sub pagesdemo
Sanbox.WebHomecustomizablenot demo because deleting it would create a broken link in the application panel
Color themesdemodiscussion
XWiki.DefaultSkindemo
Main.WebHomedemodiscussion
Dashboard.WebHomecustomizablenot demo because deleting it would create a broken link in the application panel
XWiki.XWikiAdminGroupconfigurationhttps://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

PageType
XWiki.Admindemo
XWiki.XWikiAllGroupconfiguration

 

Tags:
Created by Thomas Mortagne on 2018/05/07 17:50
    

Get Connected