From 2edb2929b2be38a636438f842538931c6364c7f0 Mon Sep 17 00:00:00 2001 From: weisd Date: Tue, 21 Oct 2025 10:05:54 +0800 Subject: [PATCH] fix: DataUsageInfo add list bucket permission (#674) --- rustfs/src/admin/handlers.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rustfs/src/admin/handlers.rs b/rustfs/src/admin/handlers.rs index 3521d378..419aa73e 100644 --- a/rustfs/src/admin/handlers.rs +++ b/rustfs/src/admin/handlers.rs @@ -431,7 +431,10 @@ impl Operation for DataUsageInfoHandler { &cred, owner, false, - vec![Action::AdminAction(AdminAction::DataUsageInfoAdminAction)], + vec![ + Action::AdminAction(AdminAction::DataUsageInfoAdminAction), + Action::S3Action(S3Action::ListBucketAction), + ], ) .await?;