Files delegate - may the caller read or write the files of a sheet?
POST/internal/v1/attachments/authorize
Called by the files service when the permission it derives from the owner ARN
(borrowing.sheet.read / borrowing.sheet.update) is denied. The caller principal token is forwarded
in X-Atl-Principal (required). Owner: atl:borrowing:<site>:sheet/<id>.
read: same rule asGET /v1/borrowing/sheets/{id}(member borrower, creator,borrowing.sheet.read,read_all,approve).write: the member borrower and the creator while the sheet isdraft,pending_approval(checkout photos, signature),checked_outorpartially_returned(return photos); otherwiseborrowing.sheet.update.
Request
Responses
- 204
- 401
- 403
- 404
- 422
- default
Allowed
Error (RFC 9457)
Error (RFC 9457)
Error (RFC 9457)
Error (RFC 9457)
Error (RFC 9457)