1
0
mirror of https://github.com/minio/minio.git synced 2025-03-13 21:12:55 -04:00
minio/docs/sts/putobject.rego
Harshavardhana 002a205c9c Fix OPA result response handling ()
Also update the document with updated rego policy
and updated OPA agent REST API.

This PR is to fix a regression caused by PR 
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
}