auth/opa/ad/delete.rego

12 lines
118 B
Plaintext
Raw Normal View History

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