mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
002a205c9c
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
11 lines
147 B
Rego
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
|
|
}
|