authorization module

This commit is contained in:
sbriat
2023-07-12 10:39:55 +02:00
parent ced57e35a6
commit d78a065c54
106 changed files with 847 additions and 3654 deletions

View File

@@ -3,7 +3,7 @@ package USER.DELETE
default allow := false
allow {
input.uuid == input.owner
input.id == input.owner
}
allow {

View File

@@ -3,7 +3,7 @@ package USER.READ
default allow := false
allow {
input.uuid == input.owner
input.id == input.owner
}
allow {

View File

@@ -3,7 +3,7 @@ package USER.UPDATE
default allow := false
allow {
input.uuid == input.owner
input.id == input.owner
}
allow {