diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index 149bb753e62a..e5c19f3ff6ef 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -455,11 +455,13 @@ export function getNoteMenu(props: { if (appearNote.userId === $i.id || $i.isModerator || $i.isAdmin) { menuItems.push({ type: 'divider' }); if (appearNote.userId === $i.id) { - menuItems.push({ - icon: 'ti ti-edit', - text: i18n.ts.edit, - action: edit, - }); + if ($i.policies.canEditNote) { + menuItems.push({ + icon: 'ti ti-edit', + text: i18n.ts.edit, + action: edit, + }); + } menuItems.push({ icon: 'ti ti-edit', text: i18n.ts.deleteAndEdit,