Skip to content

Commit 4cc22ea

Browse files
committed
Merge branch 'master' into release/v5.0.0
2 parents 5d8c052 + 066203a commit 4cc22ea

File tree

6 files changed

+22
-7
lines changed

6 files changed

+22
-7
lines changed

default-templates/new-account/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ <h1>Data</h1>
4242
<span class="lead">Public Folder</span>
4343
<span class="badge">public</span>
4444
</a>
45+
<a href="/private/" target="_blank" class="list-group-item">
46+
<span class="lead">Private Folder</span>
47+
<span class="badge">private</span>
48+
</a>
4549
</div>
4650
</section>
4751

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ACL resource for the private folder
2+
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
3+
4+
# The owner has all permissions
5+
<#owner>
6+
a acl:Authorization;
7+
acl:agent <{{webId}}>;
8+
acl:accessTo <./>;
9+
acl:defaultForNew <./>;
10+
acl:mode acl:Read, acl:Write, acl:Control.

default-views/account/register-form.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
{{#if tocUri}}
7676
<div class="checkbox">
7777
<label>
78-
<input type="checkbox" name="acceptToc">
78+
<input type="checkbox" name="acceptToc" value="true">
7979
I agree to the <a href="{{tocUri}}" target="_blank">Terms &amp; Conditions</a> of this service
8080
</label>
8181
</div>

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "solid-server",
33
"description": "Solid server on top of the file-system",
4-
"version": "4.3.0",
4+
"version": "4.3.1",
55
"author": {
66
"name": "Tim Berners-Lee",
77
"email": "[email protected]"
@@ -42,6 +42,7 @@
4242
"body-parser": "^1.18.3",
4343
"bootstrap": "^3.3.7",
4444
"busboy": "^0.2.12",
45+
"cached-path-relative": "^1.0.2",
4546
"camelize": "^1.0.0",
4647
"colorette": "^1.0.5",
4748
"commander": "^2.9.0",

test/integration/account-creation-oidc-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ describe('AccountManager (OIDC account creation tests)', function () {
114114
it('should not create WebID if T&C is not accepted', (done) => {
115115
let subdomain = supertest('https://nicola.' + host)
116116
subdomain.post('/api/accounts/new')
117-
.send('username=nicola&password=12345&acceptToc=false')
117+
.send('username=nicola&password=12345&acceptToc=')
118118
.expect(400, done)
119119
})
120120

0 commit comments

Comments
 (0)