feat(editor): show notification if user is not allowed to edit note

Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Philip Molares 2023-10-07 16:56:26 +02:00
parent 104bc070ed
commit 2693ebbb82
2 changed files with 18 additions and 1 deletions

View file

@ -234,6 +234,10 @@
"you": "(You)"
},
"error": {
"noPermission": {
"title": "No edit permission",
"description": "You don't have permission to edit this note. Please login and try again"
},
"locked": {
"title": "This note is locked",
"description": "Sorry, only the owner can edit this note."