When giving read access to everyone for a a file it generates:
@prefix n0: <#>.
@prefix n1: <http://www.w3.org/ns/auth/acl#>.
@prefix loc: <https://localhost:8443/>.
@prefix n2: <http://melvincarvalho.com/#>.
@prefix n3: <http://xmlns.com/foaf/0.1/>.
n0:policy0
a n1:Authorization;i wonder if setBase() would help here ...
n1:accessTo
<https://localhost:8443/checkacl.acl>, loc:checkacl;
n1:agent
n2:me;
n1:mode
n1:Control, n1:Read, n1:Write.
n0:policy1
a n1:Authorization;
n1:accessTo
loc:checkacl;
n1:agentClass
n3:Agent;
n1:mode
n1:Read.
but loc: should be </> as a relative path
and n1: accessTo should be loc:checkacl.acl
at the end it does
var s = new $rdf.Serializer(g).toN3(g);
i wonder if setBase() would help here ...
When giving read access to everyone for a a file it generates:
but loc: should be </> as a relative path
and n1: accessTo should be loc:checkacl.acl
at the end it does
i wonder if setBase() would help here ...