Carl Bäckström
05/04/2023, 6:13 PM[{companyId: "company1"}, {companyId: "company2"}]
and I want to do something like
{companyId: request.principal.attr.companyId} in request.resource.attr.companies
Andrew Haines (Cerbos)
05/04/2023, 6:16 PMexists
for this, something like
request.resource.attr.companies.exists(c, c.companyId == request.principal.attr.companyId)
Carl Bäckström
05/04/2023, 6:17 PM