Permissions¶
HedgeDoc 1.x uses a basic permission system that differentiates between the owner of a note (the account who initially created it), logged-in users and guests.
It is possible to change the access permission of a note through the little button on the top right of the view pane in the editor. However, only the note owner can change the permission of a note.
The permissions are named Freely, Editable, Limited, Locked, Protected and Private.
You can configure the default permission for new notes using the defaultPermission option in the config.json file or
CMD_DEFAULT_PERMISSION environment variable.
For more information, see the configuration documentation.
| Permission | Owner read/write | Signed-in read | Signed-in write | Guest read | Guest write | |
|---|---|---|---|---|---|---|
| Freely | ✔ | ✔ | ✔ | ✔ | ✔ | |
| Editable | ✔ | ✔ | ✔ | ✔ | ✖ | |
| Limited | ✔ | ✔ | ✔ | ✖ | ✖ | |
| Locked | ✔ | ✔ | ✖ | ✔ | ✖ | |
| Protected | ✔ | ✔ | ✖ | ✖ | ✖ | |
| Private | ✔ | ✖ | ✖ | ✖ | ✖ |