Hi everyone,
I'm working on a Forge app for Confluence Cloud and need to check whether the current user is a space admin for a given space. I tried using the "/wiki/rest/api/space/{spaceKey}/permission" endpoint with asApp() but it always returns a 401 or 403 — even when tested via Postman using a valid app token. It looks like this endpoint is simply not accessible to Forge apps.
I also tried checking if the user belongs to any admin-related groups like confluence-administrators, org-admins but that didn’t help either — group membership info is not consistently exposed or reliable in the API responses.
Is there any better, supported way to determine space admin rights from a Forge app? Just want to be sure I’m not missing something obvious.
Thanks!