mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
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:
parent
594cf27696
commit
613dd5698a
21
templates/pod/profile/card.acl
Normal file
21
templates/pod/profile/card.acl
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user