Skip to content

WAC editor: replace the resource in the .meta graph with a new one. #4

@deiu

Description

@deiu

As it is, using the WAC editor only appends triples to the graph. This means that you cannot remove an existing triple. Example:

For a given WAC rule:

<#dir>
    <acl#accessTo> <dir> ;
    <acl#agent> <webid#1>, <webid#2> ;
    <acl#mode> <acl#Read>, <acl#Write> .

Currently, removing the Write mode from rule <#dir> means doing an HTTP POST with the following turtle data:

<#dir>
    <acl#accessTo> <dir> ;
    <acl#agent> <webid#1>, <webid#2> ;
    <acl#mode> <acl#Read> .

However, since POST only performs an append, the triple <#dir> <acl#mode> <acl#Write> will not be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions