more complete admin API #298

Merged
lx merged 48 commits from admin-api into main 2022-05-24 10:16:40 +00:00
Showing only changes of commit be59cafd47 - Show all commits

View file

@ -291,12 +291,12 @@ pub async fn handle_create_bucket(
.set_bucket_key_permissions( .set_bucket_key_permissions(
bucket.id, bucket.id,
&la.access_key_id, &la.access_key_id,
BucketKeyPerm{ BucketKeyPerm {
timestamp: now_msec(), timestamp: now_msec(),
allow_read: la.allow.read, allow_read: la.allow.read,
allow_write: la.allow.write, allow_write: la.allow.write,
allow_owner: la.allow.owner, allow_owner: la.allow.owner,
} },
) )
.await?; .await?;
} }