auth/opa/user/update.rego

12 lines
138 B
Plaintext
Raw Normal View History

2023-01-19 15:27:14 +00:00
package user.update
default allow := false
allow := true {
input.uuid == input.owner
}
allow := true {
input.role == "admin"
}