diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-22 09:39:37 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-04 12:47:28 +0100 |
commit | b76d0580a03c38d901a2b3d19e7c6ede6b0d09a7 (patch) | |
tree | c9ac0c1987c5592f6c1d15b4a1f249ff239bbb5e | |
parent | 87121dce9d6e9a22bd9b65590262af5a1f481249 (diff) | |
download | garage-b76d0580a03c38d901a2b3d19e7c6ede6b0d09a7.tar.gz garage-b76d0580a03c38d901a2b3d19e7c6ede6b0d09a7.zip |
Fix forgotten flag
-rw-r--r-- | src/api/s3_bucket.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/s3_bucket.rs b/src/api/s3_bucket.rs index 4a497c67..785b89dd 100644 --- a/src/api/s3_bucket.rs +++ b/src/api/s3_bucket.rs @@ -50,7 +50,7 @@ pub async fn handle_list_buckets(garage: &Garage, api_key: &Key) -> Result<Respo .authorized_buckets .items() .iter() - .filter(|(_, perms)| perms.allow_read || perms.allow_write) + .filter(|(_, perms)| perms.allow_read || perms.allow_write || perms.allow_owner) .map(|(id, _)| *id) .collect::<Vec<_>>(); |