Is there a way to check for attachment delete permissions via API or context conditions as a query? I've already checked this endpoint, not sure if it's working, though.
/wiki/api/v2/attachments/{id}/operations
are operations the same thing as permissions?
/wiki/rest/api/content/{id}/permission/check
I've also tried with this one, but it always returns true, and is related to page permissions rather than attachment permissions.
In query context condition I've tried
condition.has_attachment_permission(permission=REMOVE)
this is always false :(
Hi @Igor Hercer
Attachment permissions are set at the space level, but alas there doesn't seem to be a direct way to get them via the API.
You can check to see if you have permissions for a specific operation, read, delete, via the permission check. This is with the v1 API, there doesn't seem to be a v2.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.