auth/opa/user/read.rego

12 lines
136 B
Plaintext
Raw Normal View History

2023-01-30 14:51:24 +00:00
package USER.READ
default allow := false
allow := true {
2023-01-18 14:50:42 +00:00
input.uuid == input.owner
}
allow := true {
input.role == "admin"
}