Forge app archiving confluence page: Space permission

Hello !

We are writing a Forge application which has the ability to archive Confluence pages.
To archive Confluence pages, we use the Confluence Cloud REST API v1 Archive pages request.

As stated in the documentation, we added the following scope in the manifest: write:confluence-content.

Upon deployment+installation of the app, an “App user” representing the app is created in the targeted Atlassian instance and this user is granted some permissions.

Our “App user” has no permission to Archive pages.
My understanding was that the Archive permission would have been granted to the app.

Is it a bug ? Do we need to do something special to grant the Archive Confluence page permission to a Forge app ? Is there an undocumented scope to add to the manifest ?

Thanks for your support !

Have you tried archiving pages through the app? I think the scopes you set in the manifest apply to API calls from within the app, but I haven’t seen then reflected in the app user.

Yes I’m using the REST API to archive a page from the App. I’m surprised that the app has no permission to archive pages.

I guess you have to set up archive permissions in the relevant spaces. We generally have it so anyone can archive by default. But permissions are different than authorization (scope) and are managed at the space level, so the manifest of the app can’t set that, I think.

Thanks @AaronCollier.

Yes, I’ll get the current app user accountId and setup permission from it.