Browse Source

Update organizations.rs

pull/7064/head
marvineimer-kw 2 weeks ago
committed by GitHub
parent
commit
711f7eb880
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/api/core/organizations.rs

2
src/api/core/organizations.rs

@ -521,7 +521,7 @@ async fn post_organization_collections(
}
if headers.membership.atype == MembershipType::Manager && !headers.membership.access_all {
CollectionUser::save(&headers.membership.user_uuid, &collection.uuid, false, false, false, &conn).await?;
CollectionUser::save(&headers.membership.user_uuid, &collection.uuid, false, false, true, &conn).await?;
}
Ok(Json(collection.to_json_details(&headers.membership.user_uuid, None, &conn).await))

Loading…
Cancel
Save