Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 24 09:35
    RubenVerborgh closed #27
  • Feb 24 09:35
    RubenVerborgh commented #27
  • Feb 24 09:35
    RubenVerborgh labeled #27
  • Feb 24 09:35
    RubenVerborgh assigned #27
  • Feb 24 09:34
    Otto-AA opened #27
  • Oct 25 2018 12:34

    RubenVerborgh on gh-pages

    Change deprecated solid:inbox i… (compare)

  • Oct 25 2018 12:31

    RubenVerborgh on gh-pages

    Change deprecated solid:inbox i… (compare)

  • Jul 16 2018 15:44
    RubenVerborgh commented #26
  • Jul 16 2018 15:42
    mediaprophet opened #26
  • Dec 29 2017 20:37
    noorbakerally opened #25
  • Aug 18 2017 12:07
    csarven closed #24
  • Aug 18 2017 12:07
    csarven commented #24
  • Aug 17 2017 16:38
    csarven review_requested #24
  • Aug 17 2017 16:38
    csarven opened #24
  • Jul 25 2017 19:45
    RubenVerborgh opened #23
  • May 14 2017 14:51
    deiu closed #22
  • May 14 2017 09:23
    chrysn commented #22
  • Mar 24 2017 14:32
    THIS-Usr commented #21
  • Mar 23 2017 18:35
    THIS-Usr commented #21
  • Mar 23 2017 18:19
    dmitrizagidulin commented #21
Melvin Carvalho
@melvincarvalho
I think I've found a bug in WARP
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;
    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
        g.add($rdf.sym("#policy"+i), WAC("accessTo"), $rdf.sym(decodeURI($scope.uri)));
perhaps the issue is in the rdflib serializer too
Melvin Carvalho
@melvincarvalho
at the end it does
    var s = new $rdf.Serializer(g).toN3(g);
i wonder if setBase() would help here ...
Melvin Carvalho
@melvincarvalho
I think rdflib would fix it
            str += '@prefix ' + this.prefixes[ns] + ': <' +
             $rdf.uri.refTo(this.base, ns) + '>.\n';
Andrei
@deiu
Is it warp related or rdflib related?
Melvin Carvalho
@melvincarvalho
From what I can see it's warp related, because I dont think warp sets the base URL
but there may also be a bug in rdflib
Melvin Carvalho
@melvincarvalho
I raised an issue linkeddata/warp#20
just try making an acl and see if the .acl gives relative or absolute uris for the accessTo
or in the prefix
Andrei
@deiu
I think warp uses an older version of rdflib
I’ll try to upgrade and test again
Melvin Carvalho
@melvincarvalho
good idea, but if the base is not set, maybe it cant work out what uris are relative to:
   var s = new $rdf.Serializer(g).toN3(g);
unless it's in g already
DavidBeSo
@DavidBeSoDeku
Oi, just a request, can y'all add some instructions to build and maybe some screenshots on the github page?