auth/opa/user/list.rego

8 lines
87 B
Plaintext
Raw Normal View History

2023-01-16 15:21:24 +00:00
package user.list
default allow := false
allow := true {
2023-01-18 14:50:42 +00:00
input.role == "admin"
}