-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
Severity 3 - Minor
-
Issue Summary
When a user without space access tries to access a Confluence Cloud page URL, they can trigger an “Ask for access” flow for the page before the automatic redirect to the space access message, resulting in an error when the page owner attempts to approve the request.
Steps to Reproduce
- Identify a page that is not restricted but resides in a space the test user does not have access to.
- Log in as the test user (who has no space access) and directly open the page URL.
- Observe the initial message:"You have stumbled on restricted content” with an Ask for access button.
- Quickly click Ask for access before the page auto-refreshes
- Within a few seconds, the page auto-refreshes and displays a new message: “You don’t have access to the space” with a Request access button.
- As the page owner, try to approve the page access request from the notification
Expected Results
- If the user clicks Ask for access for a page before the refresh, the system should either:
Queue the correct request for space access instead of page access, or
Allow the page owner to approve the request successfully.
Actual Results
The Ask for access request is sent to the page owner.
When the page owner tries to approve the request, it fails with:
Access request error , Sorry, there was an unexpected error while granting access.
Workaround
Currently, there is no direct workaround to prevent the error if the user clicks “Ask for access” before the page auto-refreshes.
However, users can avoid the issue by following these steps:
- Wait for the page to finish refreshing and display the correct message:
“You don’t have access to the space.” - Click “Request access” from this space-level prompt instead of the initial restricted content message.
This ensures that the access request is sent to the space admins, and the approval flow works as expected.