- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getSTSConditionValues (0.23 sec)
-
cmd/bucket-policy.go
// operation is allowed only for owner. return args.IsOwner } // NewPolicySys - creates new policy system. func NewPolicySys() *PolicySys { return &PolicySys{} } func getSTSConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string { m := make(map[string][]string) if d := r.Form.Get("DurationSeconds"); d != "" { m["DurationSeconds"] = []string{d} } return m }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 8K bytes - Viewed (0) -
cmd/sts-handlers.go
return } } if !globalIAMSys.doesPolicyAllow(p, policy.Args{ DenyOnly: true, Action: policy.AssumeRoleWithWebIdentityAction, ConditionValues: getSTSConditionValues(r, "", cred), Claims: cred.Claims, }) { writeSTSErrorResponse(ctx, w, ErrSTSAccessDenied, errors.New("this user does not have enough permission")) return } }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 18:36:18 GMT 2024 - 34.7K bytes - Viewed (2)