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

New permission check introduced in 2.5 forbids macros which need programming rights in subwikis

    XMLWordPrintable

Details

    • Unknown

    Description

      If you write a Wiki macro which uses groovy your macro won't work in a subwiki.

      The code that does the check was introduced in 2.5M1:

      http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-script/src/main/java/org/xwiki/rendering/internal/macro/script/PermissionCheckerListener.java

      It seems it's not checking the real source of the source code which is the macro page and should have the rights granted.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: