The RLS policy restricted non-uuid file names from being uploaded to ANY bucket. This was caused by the "or" condition in the policy. This fixes that by wrapping both "or" conditions in a single set of parentheses.
The RLS policy restricted non-uuid file names from being uploaded to ANY bucket. This was caused by the "or" condition in the policy. This fixes that by wrapping both "or" conditions in a single set of parentheses.