mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-01-02 19:02:40 +00:00
add ad policies
This commit is contained in:
@@ -2,10 +2,10 @@ package USER.READ
|
||||
|
||||
default allow := false
|
||||
|
||||
allow := true {
|
||||
allow {
|
||||
input.uuid == input.owner
|
||||
}
|
||||
|
||||
allow := true {
|
||||
allow {
|
||||
input.role == "admin"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user