From several discussions, we are starting to rely on side effects to update certain resources, especially containment triples.
This opens the question: What is really a write operation?
It is pretty clear that when you write to a resource, that's a write operation. It gets more unclear when there are updates done by the server as a side effect.
We could adopt the interpretation that if the state of a resource Q is altered by an operation on a different resource R, that operation requires write privileges on that resource Q, even if it R is the resource identified by the request-URI.
One implication of this idea is for example that deleting a resource R requires write privilege on the container C, since it requires updating the containment triples.
From several discussions, we are starting to rely on side effects to update certain resources, especially containment triples.
This opens the question: What is really a write operation?
It is pretty clear that when you write to a resource, that's a write operation. It gets more unclear when there are updates done by the server as a side effect.
We could adopt the interpretation that if the state of a resource
Qis altered by an operation on a different resourceR, that operation requires write privileges on that resourceQ, even if itRis the resource identified by the request-URI.One implication of this idea is for example that deleting a resource
Rrequires write privilege on the containerC, since it requires updating the containment triples.