mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-01-10 05:52:40 +00:00
authorization module
This commit is contained in:
@@ -3,7 +3,7 @@ package USER.DELETE
|
||||
default allow := false
|
||||
|
||||
allow {
|
||||
input.uuid == input.owner
|
||||
input.id == input.owner
|
||||
}
|
||||
|
||||
allow {
|
||||
|
||||
@@ -3,7 +3,7 @@ package USER.READ
|
||||
default allow := false
|
||||
|
||||
allow {
|
||||
input.uuid == input.owner
|
||||
input.id == input.owner
|
||||
}
|
||||
|
||||
allow {
|
||||
|
||||
@@ -3,7 +3,7 @@ package USER.UPDATE
|
||||
default allow := false
|
||||
|
||||
allow {
|
||||
input.uuid == input.owner
|
||||
input.id == input.owner
|
||||
}
|
||||
|
||||
allow {
|
||||
|
||||
Reference in New Issue
Block a user