Can a resource attr take an object? (JS SDK) I am ...
# help
j
Can a resource attr take an object? (JS SDK) I am sending it an object as an attr but it keeps receiving it as a string (as indicated by Cerbos audit log), and before I try to figure out what silly thing I have done, I wanted to sanity check with ye. Thanks ✌️
d
The resource/principal
attr
can take an object and is available in the policies condition. The logger serialises embedded objects.
j
Nice one thanks @Dennis (Cerbos) I learned something useful, policies are case sensitive to attributes 😄 😄