Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-82480

Child Pages macro should not display error due to lack of access

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • Macros - Children
    • None

      Issue Summary

      When a parent page from another Space is specified in the Parent Pages macro, a user that has no access to that Space will be displayed an error message.

      Steps to Reproduce

      Steps:

      1. On Space A, create a new page and add a Child Pages macro
      2. Add a few child pages
      3. Restrict one of the child pages
      4. Users only see a list of child pages they have access to when visiting the parent page and no errors are displayed (expected)
      5. On Space B, create a new page and add a few child pages
      6. Restrict one of the child pages
      7. Add another Child Pages macro to the parent page on Space A
      8. Users see an error if they don't have access to one of the child pages in Space B (not expected)

      Expected Results

      The Child Pages macro should simply not display any child pages the user has no access to.

      Actual Results

      The Child Pages macro throws an error when the user viewing the page has no access to one of the child pages on another Space.

      Error message:

      Unable to render {children}. We can't show you this information because you don't have access to the content.
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              tpallaro@atlassian.com Thiago P [Atlassian Support]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: