mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-03 03:47:42 +00:00
fix(sts): align AssumeRole authorization (#5281)
* fix(sts): align AssumeRole authorization with MinIO * test(sts): cover AssumeRole OPA contract * fix(iam): fail closed on unresolved policies * fix(iam): fail closed while OPA initializes --------- Co-authored-by: cxymds <cxymds@gmail.com> Co-authored-by: Zhengchao An <anzhengchao@gmail.com>
This commit is contained in:
@@ -183,7 +183,7 @@ async fn handle_assume_role(
|
||||
conditions: &conditions,
|
||||
is_owner: owner,
|
||||
claims: cred.claims_or_empty(),
|
||||
deny_only: false,
|
||||
deny_only: true,
|
||||
bucket: "",
|
||||
object: "",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user