e37c139faa4e2e554d7a0414e8dbc4c55df95d31

Author
Christian Rocha <christian@rocha.is>
Committer
Christian Rocha <christian@rocha.is>
Date

Message

Copy edits for default config comments

Diff

 1diff --git a/config/defaults.go b/config/defaults.go
 2index 85499246ae7f34649d6d0969fa30358b9f9bc5b7..9267293bed304b6c09d6db6d1b49e09c209d415b 100644
 3--- a/config/defaults.go
 4+++ b/config/defaults.go
 5@@ -6,13 +6,13 @@ const defaultConfig = `name: Soft Serve
 6 host: %s
 7 port: %d
 8 
 9-# Set the access level for anonymous users. Options are: read-write, read-only and no-access
10+# Set the access level for anonymous users. Options are: read-write, read-only and no-access.
11 anon-access: %s
12 
13-# Allow users with no private keys read-only access. Any password is accepted.
14+# Grant read-only access to users without private keys. Any password will be accepted.
15 allow-keyless: false
16 
17-# Customize repo display in menu
18+# Customize repo display in the menu.
19 repos:
20   - name: Home
21     repo: config
22@@ -21,7 +21,7 @@ repos:
23 
24 const hasKeyUserConfig = `
25 
26-# Users can read all repos, and push to collab-repos, admin can push to all repos
27+# Users can read all repos and push to collab-repos. Admins have full access to all repos.
28 users:
29   - name: admin
30     admin: true