auth/opa/ad/update.rego

12 lines
119 B
Plaintext
Raw Normal View History

2023-05-04 12:46:40 +00:00
package AD.UPDATE
default allow := false
allow {
2023-05-04 15:04:59 +00:00
input.owner == input.requester
2023-05-04 12:46:40 +00:00
}
allow {
input.role == "admin"
}