fix: Make new pod profile card public

* fix: make new pod profile card public

Signed-off-by: Wouter Termont <woutermont@gmail.com>

* WebID capitalization

Co-authored-by: Ruben Verborgh <ruben@verborgh.org>

* chore: more elaborate comments

* Added default inferitance for profile owner

* Update card.acl

Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
This commit is contained in:
Wouter Termont 2021-03-15 14:10:59 +01:00 committed by GitHub
parent 594cf27696
commit 613dd5698a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# ACL resource for the WebID profile document
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
# The WebID profile is readable by the public.
# This is required for discovery and verification,
# e.g. when checking identity providers.
<#public>
a acl:Authorization;
acl:agentClass foaf:Agent;
acl:accessTo <./card>;
acl:mode acl:Read.
# The owner has full access to the entire
# profile directory.
<#owner>
a acl:Authorization;
acl:agent <{{webId}}>;
acl:accessTo <./>;
acl:default <./>;
acl:mode acl:Read, acl:Write, acl:Control.