robin e960d1bace fix: resolve infinite recursion in admin_users RLS policy
The admin_users policy was checking if user is admin by querying
the same table, causing infinite recursion. Changed to allow users
to view their own admin record directly using auth.uid() = user_id.

This fixes the error: 'infinite recursion detected in policy for
relation admin_users'
2025-12-18 14:11:22 +01:00
2025-12-17 23:12:53 +01:00
2025-12-18 00:39:56 +01:00
2025-12-18 12:22:34 +01:00
2025-12-18 12:22:34 +01:00
2025-12-17 23:12:53 +01:00
2025-12-17 23:12:53 +01:00
2025-12-17 23:12:53 +01:00
Description
No description provided
229 MiB
Languages
TypeScript 95.6%
PLpgSQL 3.4%
JavaScript 0.8%
CSS 0.2%