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
9de250668f
auth
/
opa
/
user
/
read.rego
12 lines
118 B
Plaintext
Raw
Blame
History
package USER.READ
default allow := false
allow {
input.id == input.owner
}
allow {
input.role == "admin"
}
Reference in New Issue
View Git Blame
Copy Permalink