opentdf / platform

Persistent data centric security that extends owner control wherever data travels
BSD 3-Clause Clear License
19 stars 11 forks source link

fix(kas): Only hit authorization if data attributes not empty #1741

Closed elizabethhealy closed 1 week ago

elizabethhealy commented 1 week ago

Proposed Changes

go sdk creates a policy object with null in the attributes field if none provided but js fills it with "[]" which still triggered an authorization call -- this change should stop that

Checklist

Testing Instructions