From 95a87878c3d1ea6f0058a923b2f8781f26015589 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 19 Jul 2024 04:05:44 -0700 Subject: [PATCH] fix: Groups added to collection are always added with read-only permission --- app/components/Sharing/Collection/SharePopover.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/Sharing/Collection/SharePopover.tsx b/app/components/Sharing/Collection/SharePopover.tsx index 287810f7c2..f3c0ccca01 100644 --- a/app/components/Sharing/Collection/SharePopover.tsx +++ b/app/components/Sharing/Collection/SharePopover.tsx @@ -208,7 +208,7 @@ function SharePopover({ collection, visible, onRequestClose }: Props) { await groupMemberships.create({ collectionId: collection.id, groupId: group.id, - permission: CollectionPermission.Read, + permission, }); return group; }