Hi,
I’m trying to check if a user has update (edit) permission on a page within a forge app. According to the documentation the following permission scope is required: read:confluence-content.permission
But this results in a 401: Unauthorized; scope does not match
error.
I’ve also tried adding the granular scope, still 401. The only thing that seems to work is adding both the classic and granular scope from the documentation, BUT after accepting the required permissions, Confluence presents me with a “Something went wrong” error screen (reproducable). After refreshing, the permission were accepted anyways… but it is not really user friendly.
Permissions used:
permissions:
scopes:
- read:confluence-content.permission
- read:space.permission:confluence
- read:page:confluence
- read:confluence-content.summary
Both permissions scopes seem to be required, but result in an error when accepting.
- Is this a known bug?
- Is there a way to not get this error?
- And can someone please update the documentation?
FYI I’m using the example code from the endpoint documentation.
Thanks in advance!
Rick