Merge branch 'adAuth' into 'main'

fix read ad rules

See merge request v3/service/auth!36
This commit is contained in:
Sylvain Briat 2023-05-04 13:59:22 +00:00
commit c1c6a78b85
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ package AD.READ
default allow := false default allow := false
allow { allow {
input.userUuid == input.owner input.owner == input.requester
} }
allow { allow {

View File

@ -1,4 +1,5 @@
export enum Domain { export enum Domain {
USER = 'USER', USER = 'USER',
ADMIN = 'ADMIN', ADMIN = 'ADMIN',
AD = 'AD',
} }