diff options
-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<_>>(); |