Skip to content

Commit 9f4d801

Browse files
committed
add OCP demo
1 parent 2543899 commit 9f4d801

271 files changed

Lines changed: 74420 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Root ACL resource for the agent account
2+
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
3+
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
4+
5+
# The homepage is readable by the public
6+
<#public>
7+
a acl:Authorization;
8+
acl:agentClass foaf:Agent;
9+
acl:accessTo <./>;
10+
acl:mode acl:Read.
11+
12+
# The owner has full access to every resource in their pod.
13+
# Other agents have no access rights,
14+
# unless specifically authorized in other .acl resources.
15+
<#owner>
16+
a acl:Authorization;
17+
acl:agent <http://localhost:3000/bosch-pod/profile/card#me>;
18+
# Optional owner email, to be used for account recovery:
19+
20+
# Set the access to the root storage folder itself
21+
acl:accessTo <./>;
22+
# All resources will inherit this authorization, by default
23+
acl:default <./>;
24+
# The owner has all of the access modes allowed
25+
acl:mode
26+
acl:Read, acl:Write, acl:Control.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<http://localhost:3000/bosch-pod/> a <http://www.w3.org/ns/pim/space#Storage>.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Welcome to your pod
2+
3+
## A place to store your data
4+
Your pod is a **secure storage space** for your documents and data.
5+
<br>
6+
You can choose to share those with other people and apps.
7+
8+
As the owner of this pod,
9+
identified by <a href="http://localhost:3000/bosch-pod/profile/card#me">http://localhost:3000/bosch-pod/profile/card#me</a>,
10+
you have access to all of your documents.
11+
12+
## Working with your pod
13+
The easiest way to interact with pods
14+
is through Solid apps.
15+
<br>
16+
For example,
17+
you can open your pod in [Databrowser](https://solidos.github.io/mashlib/dist/browse.html?uri=http://localhost:3000/bosch-pod/).
18+
19+
## Accessing your account
20+
To keep track of your pods, webIDs and any other resources,
21+
you can [log in](http://localhost:3000/.account/) to your account.
22+
There you can, for example, update the owners of this pod.
23+
24+
## Learn more
25+
The [Solid website](https://solidproject.org/)
26+
and the people on its [forum](https://forum.solidproject.org/)
27+
will be glad to help you on your journey.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
2+
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
3+
4+
<#public>
5+
a acl:Authorization;
6+
acl:accessTo <./README>;
7+
acl:agentClass foaf:Agent;
8+
acl:mode acl:Read.
9+
10+
<#owner>
11+
a acl:Authorization;
12+
acl:accessTo <./README>;
13+
acl:agent <http://localhost:3000/bosch-pod/profile/card#me>;
14+
acl:mode acl:Read, acl:Write, acl:Control.

0 commit comments

Comments
 (0)