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

{{wikimacrocontent}} macro executes the content with the wrong author

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      It means that anything you put in the content of the macro is executed with the right of the author of the macro (generally at least ADMIN and very often PROGRAMMING).

      The problem is that WikiMacroContentMacro does not do anything to get the context of the executor of the macro and is executed as any other macro used for the implementation of the wiki macro itself.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: