Admin Panel (MVP)
Admin tools include:
- View users, subscriptions, chats
- Assign assistant to chat
- Send messages from assistant
- Soft-delete users (
is_deleted = true
)
📋 Acceptance Criteria
✅ What to consider:
- Only authenticated admins should be able to view, assign, or delete entities.
- All changes must be saved in the database and immediately reflected in the UI.
- The UI should update without requiring a full page reload.
✅ Acceptance Criteria (AC):
-
GIVEN an admin is authenticated
-
WHEN they view the list of entities
-
THEN all relevant entities are displayed correctly
-
GIVEN an admin is authenticated
-
WHEN they assign an entity to a user
-
THEN the change is saved and immediately visible in the UI
-
GIVEN an admin is authenticated
-
WHEN they delete an entity
-
THEN the entity is removed from both the database and the UI
Edited by Arina Agafonova