From 1648ca859b64c51a6da6a8debcc63461105658e1 Mon Sep 17 00:00:00 2001 From: mertmit Date: Tue, 19 Sep 2023 12:12:35 +0000 Subject: [PATCH] fix: project delete permission for owner --- packages/nc-gui/lib/constants.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/lib/constants.ts b/packages/nc-gui/lib/constants.ts index 9db2e733c7..9ace8f6ff3 100644 --- a/packages/nc-gui/lib/constants.ts +++ b/packages/nc-gui/lib/constants.ts @@ -53,7 +53,9 @@ const rolePermissions = { // Project role permissions [ProjectRoles.OWNER]: { - include: {}, + include: { + projectDelete: true, + }, }, [ProjectRoles.CREATOR]: { include: {