Control who can delete documents and processing results

2 March 2026

A woman tears a sheet of paper at a conference table.
Illustrative photograph. Cropped and resized. Photo by Kampus Production on Pexels. · Pexels License

Give the cleanup operator permission to remove temporary thumbnails. Decide separately who may remove an OCR derivative or an original document. A permission that covers every file in a directory is too broad when that directory holds all three.

Write the rule for each object

In this example a workspace contains a signed source, an OCR derivative and a temporary thumbnail. The operations team is authorised to clear the thumbnail cache. No one has assigned it responsibility for deleting official records or their OCR copies.

ObjectProposed outcome for an operations deletionWhat to verify
Temporary thumbnailAllow if the cache policy permits it.The correct thumbnail disappears.
OCR derivativeDeny pending a separate authorised disposition.The derivative remains linked to its source.
Signed sourceDeny.The original remains retrievable with its recorded identity and digest.

Treat these as proposed outcomes. Use the permission matrix to plan the checks, then test the backend even if the interface disables the delete button. Example workspace permission matrix

Rehearse the mistaken deletion

Use harmless test copies and an ordinary operations identity. Attempt a deletion against each stable object ID through the supported API as well as the interface. Record the response, then check the object state with a separate permitted reader. Distinguish an error message from proof that the original survived.

If the workspace supports a bulk delete, repeat the exercise with a mixed selection. Establish whether the documented contract rejects the entire request or returns an outcome for each item. In neither case should a disallowed source deletion succeed. Record the request ID, object class and decision without logging confidential file contents.

Assign unexpected outcomes to the access-control owner. Retest after correction and retain the three object-level observations before enabling the cleanup identity on live records.

Part of the Design roles and permissions for a PDF workspace guide.

Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).