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:
Joachim Van Herwegen
2021-09-15 16:56:18 +02:00
parent 4e1a2f5981
commit b592d449eb
47 changed files with 883 additions and 246 deletions

10
templates/root/empty/.acl Normal file
View 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 <./>.

View 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 storages request URI."
# https://solid.github.io/specification/protocol#storage
<> a pim:Storage.