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
What were you trying to do?
Load a policy from JSON.
What is wrong and why?
In Cedar 4.2.2 converting a policy from the JSON representation where the pattern field of the like condition operator fails if it is a string.
What do we need to do to fix this?
The pattern attribute of the like operator expects a array of either wildcards or literals, not a string.
What were you trying to do?
Load a policy from JSON.
What is wrong and why?
In Cedar 4.2.2 converting a policy from the JSON representation where the
pattern
field of thelike
condition operator fails if it is a string.What do we need to do to fix this?
The
pattern
attribute of thelike
operator expects a array of either wildcards or literals, not a string.Examples
Bad (as documented)
Good (as generated by Cedar when converting from Human form)
The text was updated successfully, but these errors were encountered: