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

When viewing a page in a Space via admin key Forge apps display User did not have access to specified resource(s)

XMLWordPrintable

      Issue Summary

      When a Organisation Admin tries to view a Space Settings page for a Space they've been removed from (because the Space permissions have been adjusted), they see the Space Key permission page

      When clicking the View Now button, any Forge apps in the Space Settings or general Space pages display

      This requires the Forge app to have Conditions such as

            displayConditions: 
               or: 
                isAdmin: true
                isSiteAdmin: true
                isSpaceAdmin: true
      

       

      Steps to Reproduce

      1. Install a Forge app that has a panel in the Space Admin with Space conditions (as above)
      2. Give a (different) user Organisation Admin permissions in https://admin.atlassian.com/o/<cloudId>/admins
      3. Create a new Space and remove all Group permissions for the Space, make sure the (different) user has no permission to see the Space, but you still do via User permissions
      4. As the (different) user, log in and go to the Space Admin URL and click on VIEW NOW in the admin key box
      5. As you, go to the Space and approve the Admin Key request
      6. As the (different) user, navigate to the Forge app

      Expected Results

      The Forge app works as expected.

      Actual Results

      The Forge app throws the error

      User did not have access to specified resource(s)
      

      Workaround

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

        1. forge-error.png
          forge-error.png
          78 kB
        2. space-admin-key.png
          space-admin-key.png
          48 kB

              Unassigned Unassigned
              jrichards@atlassian.com James Richards
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: