AOSSIE-Org / AOSSIE-Org/Ell-ena

BUG:Multi-Team Switch is broken due to Schema Constraints and RLS mismatch

オープン
#281 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
54
フォーク
110
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。