Skip to content

Commit ec068f3

Browse files
authored
Merge pull request #1065 from solid/fix/acl-no-index
Default pod template sets rights on / instead of index.html
2 parents 1778215 + 23933e6 commit ec068f3

File tree

3 files changed

+11
-42
lines changed

3 files changed

+11
-42
lines changed

default-templates/new-account/.acl

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
# Root ACL resource for the user account
22
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
33

4-
<#owner>
4+
# The homepage is readable by the public
5+
<#public>
56
a acl:Authorization;
7+
acl:agentClass foaf:Agent;
8+
acl:accessTo </>;
9+
acl:mode acl:Read.
610

7-
acl:agent <{{webId}}> ;
8-
11+
# The owner has full access to every resource in their pod.
12+
# Other agents have no access rights,
13+
# unless specifically authorized in other .acl resources.
14+
<#owner>
15+
a acl:Authorization;
16+
acl:agent <{{webId}}>;
917
# Optional owner email, to be used for account recovery:
1018
{{#if email}}acl:agent <mailto:{{{email}}}>;{{/if}}
11-
1219
# Set the access to the root storage folder itself
1320
acl:accessTo </>;
14-
1521
# All resources will inherit this authorization, by default
1622
acl:default </>;
17-
1823
# The owner has all of the access modes allowed
1924
acl:mode
2025
acl:Read, acl:Write, acl:Control.
21-
22-
# Data is private by default; no other agents get access unless specifically
23-
# authorized in other .acls

default-templates/new-account/index.html.acl

Lines changed: 0 additions & 22 deletions
This file was deleted.

default-templates/server/index.html.acl

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)