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

It's not possible to edit a page that contains a restricted/ deleted file

XMLWordPrintable

      Issue Summary

      If a page has a file attached from another page which is restricted, if the user doesn't have access to the second page, this user won't be able to edit the page. This also happens when the attachment is set in a draft of another page.

      Steps to Reproduce

      1. Create a page (A) and attach a PDF file
      2. Restricted this page (A) and publish it
      3. Create a second page (B) and insert a PDF macro
      4. Set the restricted page (A) on the macro and select the PDF file
      5. Publish the page (B)
      6. Ask an user without access to the restricted page (A) to edit the other page (B)

      OR

      1. Create a page and attach a PDF file
      2. Publish that page
      3. Access ••• and delete the PDF file
      4. Try to edit the page

      Expected Results

      The user should be able to edit the unrestricted page (B)

      Actual Results

      An error message is shown:

      We can't show this page
      The permissions for this page were changed.
      Contact an admin for help

      Workaround

      • If the file is restricted, either remove the restrictions for the other page or re-attach the file to the page that needs to be edited.
      • If the file was deleted, restore it from the space's trash.
      • If the file is in a draft of another page, add the file to the page that the user is trying to edit.

        1. screenshot-1.png
          27 kB
          Guilherme T

              pchandra@atlassian.com pc (Inactive)
              gtworkowski Guilherme T (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: