THE form edit rule as a SQL predicate — the forms_update_owner_or_admin RLS policy,
re-implemented because repos run on the admin client. Every write to forms or its child tables
must embed this in its WHERE, behind the tRPC can-edit-form-template gate.
THE form edit rule as a SQL predicate — the
forms_update_owner_or_adminRLS policy, re-implemented because repos run on the admin client. Every write toformsor its child tables must embed this in itsWHERE, behind the tRPCcan-edit-form-templategate.