Documentation: Improved descriptions of 'Users and Privileges' section

Signed-off-by: Christian Bläul <christian@blaeul.de>
This commit is contained in:
Christian Bläul 2019-08-17 10:53:17 +02:00
parent 374ee58790
commit 60d6a6a15d

View file

@ -90,11 +90,11 @@ these are rarely used for various reasons.
| --------- | ------ | ----------- |
| `allowAnonymous` | `true` or `false` | Set to allow anonymous usage (default is `true`). |
| `allowAnonymousEdits` | `true` or `false` | If `allowAnonymous` is `true`: allow users to select `freely` permission, allowing guests to edit existing notes (default is `false`). |
| `allowFreeURL` | `true` or `false` | Set to allow new note creation by accessing a nonexistent note URL. |
| `allowFreeURL` | `true` or `false` | Set to allow new note creation by accessing a nonexistent note URL. This is the behavior familiar from [Etherpad](https://github.com/ether/etherpad-lite). |
| `defaultPermission` | `freely`, `editable`, `limited`, `locked`, `protected` or `private` | Set notes default permission (only applied on signed users). |
| `sessionName` | `connect.sid` | Cookie session name. |
| `sessionLife` | `14 * 24 * 60 * 60 * 1000` | Cookie session life time. |
| `sessionSecret` | `secret` | Cookie session secret. | If none is set, one will randomly generated on each startup, meaning all your users will be logged out. |
| `sessionLife` | `14 * 24 * 60 * 60 * 1000` | Cookie session life time in milliseconds. |
| `sessionSecret` | `secret` | Cookie session secret. If none is set, one will randomly generated on each startup, meaning all your users will be logged out. |
## Login methods