This website requires JavaScript.
Explore
Help
Register
Sign In
ncaron
/
auth
mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
Watch
1
Star
0
Fork
You've already forked auth
1
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a707dfbc28
auth
/
opa
/
user
/
list.rego
8 lines
87 B
Plaintext
Raw
Normal View
History
Unescape
Escape
refactor
2023-01-16 15:21:24 +00:00
package user.list
add opa, refactor auth to authentication
2023-01-16 14:03:58 +00:00
default allow := false
allow := true {
refactor context sent to opa
2023-01-18 14:50:42 +00:00
input.role == "admin"
add opa, refactor auth to authentication
2023-01-16 14:03:58 +00:00
}