auth/opa/admin/login.rego

8 lines
78 B
Plaintext
Raw Normal View History

2023-02-13 10:53:30 +00:00
package ADMIN.LOGIN
default allow := false
allow {
input.role == "admin"
}