Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15395

Allow extensions to declare pages initialized with MandatoryDocumentInitializer as protected

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 10.5
    • Old Core, Refactoring
    • None
    • Unknown

    Description

      Some JAR extensions contain MandatoryDocumentInitializer implementations that are responsible for initializing mandatory documents when the wiki is first accessed (i.e. at restart or subwiki access) or created.

      These mandatory documents are not explicitly part of a xar package so they are not considered as being part of the extension that generated them. This means that these documents will not be protected against editing or deletion, among other things.

      It would be interesting for a jar extension to be able to declare a list of document it produces and what should be the protection level for them, similar to the way we do it in a xar module int the packager plugin's configuration. They could be some special maven properties, similar to the ones used for extension pretty name or category, so that EM would pick them up when the extension is installed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: