improve security (change RLS, and allow table sensitive access only at server side, with supabase service key)

This commit is contained in:
Yannick Le Duc
2025-08-26 14:51:15 +02:00
parent 4119875f48
commit 0093f4edba
17 changed files with 1240 additions and 285 deletions

View File

@@ -4,3 +4,7 @@
# Configuration Supabase
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key-here
# Clé de service Supabase (pour les opérations côté serveur uniquement)
# ⚠️ NE JAMAIS exposer cette clé côté client
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here