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

only admin webids should have control access to group #14

Closed ndushay closed 5 years ago

ndushay commented 5 years ago

In discussion in #7, Jeremy said:

I think only Sinopia Admins (starting with Michelle) should have acl:Control on these group ACL

example (need to test against trellis - I made this up):

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

<http://platform:8080/#myGroup-edit>
        acl:mode      acl:Read ;
        acl:mode      acl:Write ;
        acl:agent     <editUser1WebId> ;
        acl:agent     <editUser2WebId> ;
        acl:accessTo  <http://platform:8080/myGroup> .

<http://platform:8080/#myGroup-control>
        acl:mode      acl:Read ;
        acl:mode      acl:Write ;
        acl:mode      acl:Control ;
        acl:agent     <adminUser1WebId> ;
        acl:agent     <adminUser2WebId> ;
        acl:accessTo  <http://platform:8080/myGroup> .

<http://platform:8080/#myGroup-read>
        acl:mode        acl:Read ;
        acl:agentClass  <http://xmlns.com/foaf/0.1/Agent> ;
        acl:accessTo    <http://platform:8080/myGroup> .