fix: Groups added to collection are always added with read-only permission

This commit is contained in:
Tom Moor
2024-07-19 04:05:44 -07:00
committed by GitHub
parent 011ffc450c
commit 95a87878c3
@@ -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;
}