-
Notifications
You must be signed in to change notification settings - Fork 26
Description
For a project, we're currently trying to use an Append-only functionality. In the scenario, everyone has Append access to a file, but no read and write access. For us the question arises, how we should make the PATCH request.
From my current understanding, there seem to be 2 standards for PATCH requests: SPARQL and N3.
Regarding to the solid protocol¹, "Servers MUST accept a PATCH request with an N3 Patch [...]". I couldn't find anything about SPARQL inside this document, except for a reference (where I honestly don't understand why it's there).
Regarding to the WAC specification², N3 is not mentioned, and SPARQL seems to be used only as an example for appending.
So my understanding is:
- N3 has to be supported by a solid server [solid protocol]
- A solid server has to allow appending to files, if the user has
acl:Appendand the operation (semantically) only appends to the file [WAC] - Thus, a solid server has to allow a N3 patch which only contains
solid:insertsstatements
Is this observation correct? If yes, I would suggest to include the N3 patch scenario as an example in the WAC specification, in favor of the SPARQL scenario.
(1) https://solidproject.org/TR/protocol
(2) https://solid.github.io/web-access-control-spec/#acl-resource-discovery