From b95bee64b2fb55e88c0c0a2205d6be9e143c202f Mon Sep 17 00:00:00 2001 From: GatewayJ <835269233@qq.com> Date: Tue, 6 Jan 2026 14:53:26 +0800 Subject: [PATCH] fix: Correct import permissions (#1402) --- rustfs/src/admin/handlers/user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustfs/src/admin/handlers/user.rs b/rustfs/src/admin/handlers/user.rs index a4981f30..80233b4d 100644 --- a/rustfs/src/admin/handlers/user.rs +++ b/rustfs/src/admin/handlers/user.rs @@ -651,7 +651,7 @@ impl Operation for ImportIam { &cred, owner, false, - vec![Action::AdminAction(AdminAction::ExportIAMAction)], + vec![Action::AdminAction(AdminAction::ImportIAMAction)], req.extensions.get::>().and_then(|opt| opt.map(|a| a.0)), ) .await?;