diff --git a/apps/dashboard/src/lib/components/Org/VerifyEmail/VerifyEmailModal.svelte b/apps/dashboard/src/lib/components/Org/VerifyEmail/VerifyEmailModal.svelte index 2035a121..8d5f9e2f 100644 --- a/apps/dashboard/src/lib/components/Org/VerifyEmail/VerifyEmailModal.svelte +++ b/apps/dashboard/src/lib/components/Org/VerifyEmail/VerifyEmailModal.svelte @@ -56,7 +56,7 @@
email verification

{$t('verify_email_modal.heading')}

-

+

{$t('verify_email_modal.sent_verification')} {$profile.email} {$t('verify_email_modal.to_confirm')} diff --git a/supabase/migrations/20240718200323_rls_auth_fix.sql b/supabase/migrations/20240718200323_rls_auth_fix.sql new file mode 100644 index 00000000..7657e414 --- /dev/null +++ b/supabase/migrations/20240718200323_rls_auth_fix.sql @@ -0,0 +1,8 @@ +drop policy "User must be an admin to INSERT" on "public"."organization"; + +create policy "Enable insert for authenticated users only" +on "public"."organization" +as permissive +for insert +to authenticated +with check (true);