You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This set of functions, consumable downstream in PEPs or tools like otdfctl:
Take arbitrary JSON and flatten it into an array of fields and values (see existing proto, and ADR example). Every array value should appear twice in the output, once with the index wildcard as * and once with the index specified numerically. This gives admins the ability to entitle based on order in an array or presence without the platform driving that opinion.
Take an Entity Representation and a flattened set of fields and values and compare to find the matched field/value pairs.
Take an Entity Representation and a set of selected fields and provide the values for whichever are present, even if they differ
Unit tests for all of the above.
The text was updated successfully, but these errors were encountered:
Background
As a result of the accepted ADR to employ flattening of an Entity Representation into known fields and values, the platform needs a small library of functions to do flattening and comparison.
Acceptance Criteria
This set of functions, consumable downstream in PEPs or tools like
otdfctl
:*
and once with the index specified numerically. This gives admins the ability to entitle based on order in an array or presence without the platform driving that opinion.Unit tests for all of the above.
The text was updated successfully, but these errors were encountered: