-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld", | ||
"@graph": [ | ||
{ | ||
"@id": "urn:solid-server:default:ResourcesGenerator", | ||
"@type": "TemplatedResourcesGenerator", | ||
"TemplatedResourcesGenerator:_templateFolder": { | ||
"@id": "urn:solid-server:default:variable:podTemplateFolder" | ||
}, | ||
"TemplatedResourcesGenerator:_factory": { | ||
"@type": "ExtensionBasedMapperFactory" | ||
}, | ||
"TemplatedResourcesGenerator:_engine": { | ||
"@type": "HandlebarsTemplateEngine" | ||
} | ||
}, | ||
{ | ||
"@id": "urn:solid-server:default:PodManager", | ||
"@type": "GeneratedPodManager", | ||
"GeneratedPodManager:_store": { | ||
"@id": "urn:solid-server:default:ResourceStore" | ||
}, | ||
"GeneratedPodManager:_idGenerator": { | ||
"@type": "SuffixIdentifierGenerator", | ||
"SuffixIdentifierGenerator:_base": { | ||
"@id": "urn:solid-server:default:variable:baseUrl" | ||
} | ||
}, | ||
"GeneratedPodManager:_resourcesGenerator": { | ||
"@id": "urn:solid-server:default:ResourcesGenerator" | ||
} | ||
}, | ||
{ | ||
"@id": "urn:solid-server:default:PodManagerHandler", | ||
"@type": "PodManagerHttpHandler", | ||
"PodManagerHttpHandler:_args_requestPath": "/pods", | ||
"PodManagerHttpHandler:_args_requestParser": { | ||
"@id": "urn:solid-server:default:RequestParser" | ||
}, | ||
"PodManagerHttpHandler:_args_agentParser": { | ||
"@type": "AgentJsonParser" | ||
}, | ||
"PodManagerHttpHandler:_args_manager": { | ||
"@id": "urn:solid-server:default:PodManager" | ||
}, | ||
"PodManagerHttpHandler:_args_responseWriter": { | ||
"@id": "urn:solid-server:default:ResponseWriter" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Root ACL resource for the agent account | ||
@prefix acl: <http://www.w3.org/ns/auth/acl#>. | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/>. | ||
|
||
# The homepage is readable by the public | ||
<#public> | ||
a acl:Authorization; | ||
acl:agentClass foaf:Agent; | ||
acl:accessTo </>; | ||
acl:mode acl:Read. | ||
|
||
# The owner has full access to every resource in their pod. | ||
# Other agents have no access rights, | ||
# unless specifically authorized in other .acl resources. | ||
<#owner> | ||
a acl:Authorization; | ||
acl:agent <{{webId}}>; | ||
# Optional owner email, to be used for account recovery: | ||
{{#if email}}acl:agent <mailto:{{{email}}}>;{{/if}} | ||
# Set the access to the root storage folder itself | ||
acl:accessTo </>; | ||
# All resources will inherit this authorization, by default | ||
acl:default </>; | ||
# The owner has all of the access modes allowed | ||
acl:mode | ||
acl:Read, acl:Write, acl:Control. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/>. | ||
|
||
<> | ||
a foaf:PersonalProfileDocument; | ||
foaf:maker <{{webId}}>; | ||
foaf:primaryTopic <{{webId}}>. | ||
|
||
<{{webId}}> | ||
a foaf:Person; | ||
foaf:name "{{name}}". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters