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

In some conditions wiki macro with user visibility are not registered with the proper user

    XMLWordPrintable

Details

    • Unknown

    Description

      UserComponentManager is using documentaccessbrodge getCurrentUser() which does not return the full user reference so if you save a wiki macro on the main wiki you will not be able to use in on a subwiki because its registered with "XWiki.user" and when you try to use it the context user is "xwiki:XWiki.user".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: