plug opa in auth

This commit is contained in:
Gsk54
2023-01-17 16:39:24 +01:00
parent 3d2bb613bd
commit 972d43ac30
27 changed files with 473 additions and 101 deletions

View File

@@ -1,7 +1,7 @@
package user.me
package user.read
default allow := false
allow := true {
input.user == "jean"
input.uuid == "96d99d44-e0a6-458e-a656-de2a400d60a8"
}

View File

@@ -3,5 +3,5 @@ package user.list
default allow := false
allow := true {
input.user == "pierre"
input.uuid == "96d99d44-e0a6-458e-a656-de2a400d60a9"
}