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
main
auth
/
opa
/
user
/
update.rego
12 lines
114 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
fix opa rules
2023-01-30 14:51:24 +00:00
package USER.UPDATE
add user update/delete policy
2023-01-19 15:27:14 +00:00
default allow := false
fix opa rules
2023-01-30 14:51:24 +00:00
allow {
authorization module
2023-07-12 08:39:55 +00:00
input.id == input.owner
add user update/delete policy
2023-01-19 15:27:14 +00:00
}
fix opa rules
2023-01-30 14:51:24 +00:00
allow {
input.role == "admin"
add user update/delete policy
2023-01-19 15:27:14 +00:00
}