Enforce policy- based authorisation on incoming writes #291
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
orinoco/dump-things-service#291
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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.
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:
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?