auth/opa/ad/update.rego

12 lines
119 B
Plaintext

package AD.UPDATE
default allow := false
allow {
input.owner == input.requester
}
allow {
input.role == "admin"
}