https://cerbos.dev logo
#community
Title
# community
d

Denys Andriyanov

06/22/2023, 12:22 PM
regardless i set tenant atribute in both resource and principal during request
c

Charith (Cerbos)

06/22/2023, 12:23 PM
I think it's because the condition should be
request.resource.attr.tenant == request.principal.attr.tenant
(you forgot the
attr
in
principal
)
d

Denys Andriyanov

06/22/2023, 12:27 PM
oh god, tnk u, seems i need grab some coffee