An (incomplete) application to play around with Supabase, Surface and to get comfortable with Postgres' row level security features.
- user (default)
- moderator
- admin
Moderators and Admins can delete recipes of other users. Admins can assign new roles to users. All users can see all published recipes.
Policies are created here