LD4P / sinopia_acl

node.js based code to interact with WebACL data on sinopia server
Apache License 2.0
0 stars 0 forks source link

when a (new) group container has no WebAccessControl, we need to create one #13

Closed ndushay closed 5 years ago

ndushay commented 5 years ago

When a group container is newly created, we need to provide an easy way to create an initial webACL for the group container. (After one exists, other changes will be edits to the existing webACL.)

The initial Web ACL will need:

something like:

@prefix acl:  <http://www.w3.org/ns/auth/acl#> .

<http://platform:8080/#newGroup-edit>
        acl:mode      acl:Read ;
        acl:mode      acl:Write ;
        acl:mode      acl:Control ;
        acl:agent     <http://sinopia.io/users/admin> ;
        acl:accessTo  <http://platform:8080/newGroup> .

<http://platform:8080/#newGroup-read>
        acl:mode        acl:Read ;
        acl:agentClass  <http://xmlns.com/foaf/0.1/Agent> ;
        acl:accessTo    <http://platform:8080/newGroup> .
ndushay commented 5 years ago

related to #14

ndushay commented 5 years ago

duplicate of #21