From 3a141a108916ed1ac32c674547aa5c8fdd30e615 Mon Sep 17 00:00:00 2001 From: Diogo Castro Date: Thu, 3 Nov 2022 17:39:33 +0100 Subject: [PATCH] FUTURE PR: make share permission default when resharing is on configurable II --- packages/web-client/src/helpers/share/role.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/web-client/src/helpers/share/role.ts b/packages/web-client/src/helpers/share/role.ts index d8036fc86c3..8f2e2e4a210 100644 --- a/packages/web-client/src/helpers/share/role.ts +++ b/packages/web-client/src/helpers/share/role.ts @@ -159,8 +159,7 @@ export const peopleRoleEditorFolder = new PeopleShareRole( SharePermissions.read, SharePermissions.update, SharePermissions.create, - SharePermissions.delete, - SharePermissions.share + SharePermissions.delete ] ) export const peopleRoleCustomFile = new CustomShareRole( @@ -181,7 +180,8 @@ export const peopleRoleCustomFolder = new CustomShareRole( SharePermissions.read, SharePermissions.update, SharePermissions.create, - SharePermissions.delete + SharePermissions.delete, + SharePermissions.share ] ) export const peopleRoleDenyFolder = new PeopleShareRole(