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

Should be able to register wiki-level JSX with wiki-level admin right (not PR)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 7.1.1
    • Skin - Skinx
    • None
    • Unknown

    Description

      Other permissions such as UI Extension and Macro are allowed to be registered for a single wiki but Skin Extensions cannot be registered at wiki level without programming rights.

      Known workaround:
      Create a UI Extension which hooks org.xwiki.platform.template.header.after which is called every page load and in the content of that extension put

      {{velocity}}$xwiki.jsx.use('Whatever.JsExtension'){{/velocity}}
      

      This should be allowed by default.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              calebjamesdelisle CalebJamesDeLisle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: