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

Restricted pages do not display in macros

    XMLWordPrintable

    Details

      Description

      Issue Summary

      In Confluence, if the user restricts a page for groups with an uppercase letter, members of the group will not be able to find the page in macros like page tree macros and child macros.

      Steps to Reproduce

      1. As a site-admin of the application, make sure to create a new group that will be using uppercase letters through https://site.atlassian.net/admin. For example, "testiNG".
      2. With the created group (and also, the Application Access granted for the same, if needed), make sure to add specific users to the same.
      3. Add group restriction to a page with above group
      4. Add a page tree macro to display the above page mentioned in 3
      5. Ask one of the group member to access the above page with the macro on it

      Expected Results

      The person from the group should be able to view/edit the macro with that restricted page

       

      Actual Results

      The person from the group can't see the restricted page in the macro:

       

       

      Notes

      The query used to validate permission doesn't take into account the uppercase/lowercase of group names. Functionality wise it should be case insensitive.

      Workaround

      Add the user in restriction individually, or add user to lowercase groups

        Attachments

        1. content_perm.png
          content_perm.png
          166 kB
        2. cwd_group.png
          cwd_group.png
          110 kB
        3. Not viewable in reality.png
          Not viewable in reality.png
          107 kB
        4. Should be viewable.png
          Should be viewable.png
          105 kB

          Issue Links

            Activity

              People

              Assignee:
              bzivaljevic Bosko Zivaljevic
              Reporter:
              lhou1 Lorien Hou
              Votes:
              14 Vote for this issue
              Watchers:
              33 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: