Doug Gilmour

10/11/2022, 1:48 PM
I just ran across this yesterday. It looks like, if I have attributes that need to be associated with the Principal that isn't part of our Identity system, then I have to maintain them in the application. Can the entries under “attr” be arrays of values?

Emre (Cerbos)

10/11/2022, 1:52 PM
Absolutely. Cerbos is stateless and also is decoupled from your authentication and directory systems. In every request, you can send the relevant attributes for the principal and the resource.

Alex Olivier (Cerbos)

10/11/2022, 1:52 PM
. The attributes object can be anything that can be defined in JSON - so yes you can have arrays of values.