Skip to content

Commit 95a8787

Browse files
authored
fix: Groups added to collection are always added with read-only permission
1 parent 011ffc4 commit 95a8787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/Sharing/Collection/SharePopover.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function SharePopover({ collection, visible, onRequestClose }: Props) {
208208
await groupMemberships.create({
209209
collectionId: collection.id,
210210
groupId: group.id,
211-
permission: CollectionPermission.Read,
211+
permission,
212212
});
213213
return group;
214214
}

0 commit comments

Comments
 (0)