From d7108ba522ae46c0116f1bf8c0f19cef5671a1ab Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Tue, 11 Apr 2023 11:13:12 +0200 Subject: [PATCH] fix: fix permissions in mocked feature page Signed-off-by: Tilman Vatteroth --- frontend/src/pages/api/private/notes/features/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/pages/api/private/notes/features/index.ts b/frontend/src/pages/api/private/notes/features/index.ts index cc59b5b92..8e5445b96 100644 --- a/frontend/src/pages/api/private/notes/features/index.ts +++ b/frontend/src/pages/api/private/notes/features/index.ts @@ -41,6 +41,10 @@ const handler = (req: NextApiRequest, res: NextApiResponse): void => { sharedToGroups: [ { groupName: '_LOGGED_IN', + canEdit: true + }, + { + groupName: '_EVERYONE', canEdit: false } ]