Skip to content

Commit 613dd56

Browse files
woutermontRubenVerborgh
andauthoredMar 15, 2021
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>
1 parent 594cf27 commit 613dd56

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
 

‎templates/pod/profile/card.acl

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# ACL resource for the WebID profile document
2+
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
3+
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
4+
5+
# The WebID profile is readable by the public.
6+
# This is required for discovery and verification,
7+
# e.g. when checking identity providers.
8+
<#public>
9+
a acl:Authorization;
10+
acl:agentClass foaf:Agent;
11+
acl:accessTo <./card>;
12+
acl:mode acl:Read.
13+
14+
# The owner has full access to the entire
15+
# profile directory.
16+
<#owner>
17+
a acl:Authorization;
18+
acl:agent <{{webId}}>;
19+
acl:accessTo <./>;
20+
acl:default <./>;
21+
acl:mode acl:Read, acl:Write, acl:Control.

0 commit comments

Comments
 (0)
Please sign in to comment.