mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Update templates and generators to support ACP
This commit is contained in:
32
templates/root/empty/acp/.acr
Normal file
32
templates/root/empty/acp/.acr
Normal file
@@ -0,0 +1,32 @@
|
||||
# WARNING: DO NOT USE UNMODIFIED UNLESS FOR TESTING PURPOSES.
|
||||
# WHEN IN DOUBT, DELETE THIS DOCUMENT.
|
||||
#
|
||||
# This root ACR allows unrestricted public access to all documents and subcontainers.
|
||||
#
|
||||
# This document was automatically generated by the Community Solid Server
|
||||
# because the "Expose a public root Pod" option was selected during setup,
|
||||
# or because setup has been bypassed.
|
||||
#
|
||||
# We strongly suggest to edit this document such that it restricts permissions.
|
||||
|
||||
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
|
||||
@prefix acp: <http://www.w3.org/ns/solid/acp#>.
|
||||
|
||||
# Give all agents Read, Write, and Control permissions on everything
|
||||
<#card>
|
||||
a acp:AccessControlResource;
|
||||
acp:resource <./>;
|
||||
acp:accessControl <#publicReadAccess>;
|
||||
acp:memberAccessControl <#publicReadAccess> .
|
||||
|
||||
<#publicReadAccess>
|
||||
a acp:AccessControl;
|
||||
acp:apply [
|
||||
a acp:Policy;
|
||||
acp:allow acl:Read, acl:Write, acl:Control;
|
||||
acp:anyOf [
|
||||
a acp:Matcher;
|
||||
acp:agent acp:PublicAgent
|
||||
]
|
||||
].
|
||||
|
||||
Reference in New Issue
Block a user