HAMUR_E1264: A policy of an authorizedWhere call has no SQL form
A policy of an authorizedWhere call has no SQL form. Error HAMUR_E1264 belongs to hamur, scan, build and dev (1001 – 1999).
Message
HAMUR_E1264 authorizedWhere("<action>", "<type>"): Cedar policy "<id>" (<source>) uses <expression>, which has no SQL form; list with canEach instead
Cause
A server file calls authorizedWhere with a literal action and resource type, and a policy that can apply to them reads the resource in a way SQL cannot answer exactly.
Fix
Load the rows and filter them with canEach, or rewrite the policy without the expression the message names.