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

Include macro erroneously disallows access to documents which the user can view

    XMLWordPrintable

Details

    • Unit
    • Unknown

    Description

      To repeat:
      Create a space, deny access to:
      XWiki.XWikiAllGroup
      xwiki:XWiki.XWikiAllGroup
      XWiki.XWikiGuest

      Inside that space, create two pages.
      In both pages allow access to:
      XWiki.XWikiAllGroup

      In one of the two pages include the other using an include macro like so:

      {{include document="OtherPage"/}}
      

      Become a non-administrator.
      View each page, observe include macro fails while both pages can be viewed.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: