e960d1bace2985eb1efd608d0dce421a1893d7b8
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'
Description
No description provided
Languages
TypeScript
95.6%
PLpgSQL
3.4%
JavaScript
0.8%
CSS
0.2%