Returned to GET /api/attachments/:attachmentId by
getAttachmentAccess. ownerId is set when only that user may see
the image, because the resource linking it is private.
Usage
import { type AttachmentAccess } from "api/services/attachment-service.ts";