auth/opa/admin/login.rego

8 lines
78 B
Plaintext

package ADMIN.LOGIN
default allow := false
allow {
input.role == "admin"
}