Hi guys, so I’m building a Forge app for Confluence that does bulk label updates on pages.
I recently switched our permission check to:
POST /wiki/rest/api/content/{id}/permission/check
using:
{
“subject”: {
“type”: “user”,
“identifier”: “”
},
“operation”: “update”
}
This runs in the backend with api.asApp().requestConfluence(…), inside an async consumer.
The problem is that every page comes back as permission denied. For example 1402 out of 1402 pages failed. I’m not getting 401/403/API errors, just a normal response that leads to hasPermission = false for everything. And well I’m the owner of those pages and I clearly can edit them so hasPermission should be true.
So I’m trying to understand why is is happnening and if there is a solution or a different approach I could use.