aipotheosis-labs / aipotheosis-labs/gate22

Admin: allow deleting teams and removing members from teams

Aperta
#152 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
backend feature frontend
Lingua principale
TypeScript
Stelle
178
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

- Motivation:
Admins need to manage organization teams fully, including deleting teams and removing members.

- Proposed solution:
Backend: ensure endpoints for deleting a team and removing a member from a team exist in `backend/aci/control_plane/routes/organization/organizations.py` and are wired to CRUD in `backend/aci/common/db/crud/teams.py` with proper access control. Frontend: add actions in `frontend/src/features/settings/components/teams-settings.tsx` and `members-settings.tsx` to trigger these operations with confirmations.

- Additional context:
- Respect org role checks and guardrails.
- Update UI states and refresh lists after actions.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.