Skip to content

server-side author annotation #127

Closed
@michielbdejong

Description

@michielbdejong

An idea that @RubenVerborgh mentioned yesterday, which I think sounds brilliant:

When a client writes to a server, for instance a PATCH that adds triples to a doc or a POST to an inbox, we could have a specific predicate (e.g. http://xmlns.com/foaf/spec/#term_maker) that triggers a server-side check: If you add the triple

<> foaf:maker <https://michielbdejong.inrupt.net/profile/card#me>.

in an unauthenticated request, or when authenticated as anyone other than https://michielbdejong.inrupt.net/profile/card#me, the request would fail with a meaningful error message.

When then doing a GET for such a document, there should probably be a response header that allows the server to state that "this RDF source contains foaf:maker triples that have all been checked by this server at write time"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions