diff --git a/templates/pod/profile/card.acl b/templates/pod/profile/card.acl new file mode 100644 index 000000000..fa2c94ef9 --- /dev/null +++ b/templates/pod/profile/card.acl @@ -0,0 +1,21 @@ +# ACL resource for the WebID profile document +@prefix acl: . +@prefix foaf: . + +# 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.