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