auth/opa/user/list.rego

8 lines
87 B
Plaintext

package user.list
default allow := false
allow := true {
input.role == "admin"
}