mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-01-02 16:52:41 +00:00
plug opa in auth
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -3,5 +3,5 @@ package user.list
|
||||
default allow := false
|
||||
|
||||
allow := true {
|
||||
input.user == "pierre"
|
||||
input.uuid == "96d99d44-e0a6-458e-a656-de2a400d60a9"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user