Authentication & Access
Role-scoped, server-validated
Sercxi's operator surfaces (framework downloads, diagnostic intake, admin views) are gated by a role table stored server-side, checked by a SECURITY DEFINER function on every request. Roles are never derived from client storage.
Row-Level Security is enforced on every user-facing table in the database; the service role is used only inside audited edge functions, never exposed to the browser.