auth/opa/user/list.rego

8 lines
76 B
Plaintext

package USER.LIST
default allow := false
allow {
input.role == "admin"
}