From 550767ed04bf159af3a2076ab23dbbaae6824c0b Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Sun, 1 Oct 2023 18:33:32 +0900 Subject: [PATCH 1/2] chore: disallow editing notes by default --- packages/backend/src/core/RoleService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/RoleService.ts b/packages/backend/src/core/RoleService.ts index ad40fbaecd4a..b51c61ed5294 100644 --- a/packages/backend/src/core/RoleService.ts +++ b/packages/backend/src/core/RoleService.ts @@ -52,7 +52,7 @@ export const DEFAULT_POLICIES: RolePolicies = { gtlAvailable: true, ltlAvailable: true, canPublicNote: true, - canEditNote: true, + canEditNote: false, canInvite: false, inviteLimit: 0, inviteLimitCycle: 60 * 24 * 7, From 1d86e2b5e139f54d27cac4799dc6a8b73a16bf58 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Sun, 1 Oct 2023 18:35:15 +0900 Subject: [PATCH 2/2] =?UTF-8?q?docs(changelog):=20note=E3=81=8C=E3=83=87?= =?UTF-8?q?=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88=E3=81=A7=E7=B7=A8=E9=9B=86?= =?UTF-8?q?=E3=81=A7=E3=81=8D=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E3=81=AA=E3=82=8A=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94516fa8f6a8..5545701614c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,15 @@ --> +## 2023.9.3-kinel.2 (unreleased) + +### General +- noteがデフォルトで編集できないようになりました。 + +### Client + +### Server + ## 2023.9.3-kinel.1 ### General - Enhance: ノートの翻訳機能の利用可否をロールで設定可能に