mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
- Extract ProfileScreen and components to features/profile - Move shared hooks and stores to top-level - Add RLS policies for admin permissions - Add RELEASING.md guide - Update .gitignore
10 lines
331 B
SQL
10 lines
331 B
SQL
-- Add RLS policies for feedback
|
|
|
|
CREATE POLICY "Admins with manage_feedback permission can view all feedback"
|
|
ON feedback FOR SELECT
|
|
USING (has_permission('manage_feedback'));
|
|
|
|
CREATE POLICY "Admins with manage_feedback permission can update all feedback"
|
|
ON feedback FOR UPDATE
|
|
USING (has_permission('manage_feedback'));
|