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

Accessing $xcontext.uix requires PR rights

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      This issue will be handled on two different ways:

      On branches prior to 14.0RC1:

      Add a getUix() method in com.xpn.xwiki.api.Context, that way calling $xcontext.uix will not required to the programming rights.

      On 14.0RC1:

      Deprecate and move to legacy com.xpn.xwiki.api.Context#getUiX() and instead initialize the velocity variable $uix on org.xwiki.uiextension.internal.WikiUIExtension#before (and revert it on after).

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: