minio/docs/sts/putobject.rego
Harshavardhana 002a205c9c Fix OPA result response handling (#7763)
Also update the document with updated rego policy
and updated OPA agent REST API.

This PR is to fix a regression caused by PR #7637
2019-06-10 17:06:32 -07:00

11 lines
147 B
Rego

package httpapi.authz
import input as http_api
default allow = false
allow = true {
http_api.action = "s3:PutObject"
http_api.owner = false
}