Enforce policy- based authorisation on incoming writes #291

Open
opened 2026-10-14 14:10:19 +00:00 by venkateshhs · 2 comments
Owner

Current policies can restrict which curated records a user may read. They do not prevent a writer from submitting a candidate record containing a reference to an entity, project, or study that the writer is not authorized to modify.

Current policies can restrict which curated records a user may read. They do not prevent a writer from submitting a candidate record containing a reference to an entity, project, or study that the writer is not authorized to modify.
Author
Owner

Relavance to case-e:
If several studies are stored in one collection(If we choose One ogranization-One collection model), collection-level write permission is insufficient. A user permitted to enter data for Study A must not be able to submit a record referring to Study B.

Relavance to case-e: If several studies are stored in one collection(If we choose One ogranization-One collection model), collection-level write permission is insufficient. A user permitted to enter data for Study A must not be able to submit a record referring to Study B.
Owner

I see. You are requesting per-study write permissions for every user.

What the request means in terms of dumpthings depends on the representation of case-e studies:

  • A) All studies of one user in one collection
  • B) Every study has a new collection

Case A): how are studies distinguished (since one collection could contain data from multiple studies)? How can one decide which record belongs to which study?

Case B): regulate write access with collection wide privileges?

I see. You are requesting per-study write permissions for every user. What the request means in terms of dumpthings depends on the representation of case-e studies: - A) All studies of one user in one collection - B) Every study has a new collection Case A): how are studies distinguished (since one collection could contain data from multiple studies)? How can one decide which record belongs to which study? Case B): regulate write access with collection wide privileges?
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
orinoco/dump-things-service#291
No description provided.