AOSSIE-Org / AOSSIE-Org/Ell-ena
BUG:Multi-Team Switch is broken due to Schema Constraints and RLS mismatch
- Langage dominant
- Dart
- Étoiles
- 54
- Forks
- 110
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### What happened?
Issue Description:
The "Switch Team" feature currently fails because:
1. Schema: The users table only allows one team_id per user, preventing membership in multiple teams.
2. Persistence: SupabaseService.switchTeam only updates the local cache and never the database.
3. RLS: Because the database isn't updated, Supabase Row-Level Security blocks the user from seeing data in
the "switched" team.
This makes the feature non-functional. I have a fix ready, can you please assign this to me?
### Record
- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this issue
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.