mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Integrate setup behaviour
This adds options for enabling setup to the config folder. All default configs with permanent storage (file/sparql) are configured to require setup at server start. Memory-based configs merely have it as an option.
This commit is contained in:
10
templates/root/empty/.acl
Normal file
10
templates/root/empty/.acl
Normal file
@@ -0,0 +1,10 @@
|
||||
# Root ACL resource generated by the Community Server to allow public access
|
||||
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
|
||||
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
|
||||
|
||||
<#authorization>
|
||||
a acl:Authorization;
|
||||
acl:agentClass foaf:Agent;
|
||||
acl:mode acl:Read, acl:Write, acl:Append, acl:Control;
|
||||
acl:accessTo <./>;
|
||||
acl:default <./>.
|
||||
7
templates/root/empty/.meta
Normal file
7
templates/root/empty/.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
@prefix pim: <http://www.w3.org/ns/pim/space#>.
|
||||
|
||||
# It is imperative the root container is marked as a pim:Storage :
|
||||
# Solid, §4.1: "Servers exposing the storage resource MUST advertise by including the HTTP Link header
|
||||
# with rel="type" targeting http://www.w3.org/ns/pim/space#Storage when responding to storage’s request URI."
|
||||
# https://solid.github.io/specification/protocol#storage
|
||||
<> a pim:Storage.
|
||||
Reference in New Issue
Block a user