From 5ee321308684cfa589ffdd3ee6df31aa406cbdef Mon Sep 17 00:00:00 2001 From: Stefan Peters Date: Tue, 11 Feb 2020 13:25:52 +0900 Subject: [PATCH] Adjust description of CMD_ALLOW_ANONYMOUS_EDITS `CMD_ALLOW_ANONYMOUS_EDITS` is only applied when `CMD_ALLOW_ANONYMOUS` is `false`, see [here](https://github.com/codimd/server/blob/9c1665ae5bf3cf38210ffd862d10de9b13bfacdd/lib/config/index.js#L71-L73). Signed-off-by: Stefan Peters --- docs/configuration-env-vars.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration-env-vars.md b/docs/configuration-env-vars.md index 6ac9123b6..d203c80b4 100644 --- a/docs/configuration-env-vars.md +++ b/docs/configuration-env-vars.md @@ -77,7 +77,7 @@ defaultNotePath can't be set from env-vars | variable | example value | description | | -------- | ------------- | ----------- | | `CMD_ALLOW_ANONYMOUS` | `true` or `false` | Set to allow anonymous usage (default is `true`). | -| `CMD_ALLOW_ANONYMOUS_EDITS` | `true` or `false` | If `allowAnonymous` is `true`: allow users to select `freely` permission, allowing guests to edit existing notes (default is `true`). | +| `CMD_ALLOW_ANONYMOUS_EDITS` | `true` or `false` | If `allowAnonymous` is `false`: allow users to select `freely` permission, allowing guests to edit existing notes (default is `true`). | | `CMD_ALLOW_FREEURL` | `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). | | `CMD_DEFAULT_PERMISSION` | `freely`, `editable`, `limited`, `locked`, `protected` or `private` | Set notes default permission (only applied on signed-in users). | | `CMD_SESSION_LIFE` | `1209600000` (14 days) | Cookie session life time in milliseconds. |