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

Allow having generic analyzers for different types of macro arguments

    XMLWordPrintable

Details

    • Unknown

    Description

      Currently, we have a generic required rights analyzer for macros but it only analyzes macro parameters that are declared as containing wiki syntax. It would be good to have a way to add required rights analyzers for different types of macro parameters such that they would automatically be analyzed independent of the concrete macro they are used in. An example would be to have an analyzer for MacroContentSourceReference, where script references always need script right. This would fix XWIKI-22798.

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: