auth/opa/user/delete.rego

12 lines
138 B
Plaintext
Raw Normal View History

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