Skip to content

Is N3 patch allowed for Append access? #104

Description

@Otto-AA

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:

  1. N3 has to be supported by a solid server [solid protocol]
  2. A solid server has to allow appending to files, if the user has acl:Append and the operation (semantically) only appends to the file [WAC]
  3. Thus, a solid server has to allow a N3 patch which only contains solid:inserts statements

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions