marvineimer-kw
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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)) |
|
|
|
|