mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
fix: Groups added to collection are always added with read-only permission
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user