ac58d150eae1608a42a57d2cb98f2f4ef42530df
Backend (manager_auth.py):
- register: upsert instead of 409 — if email exists, just add site access
- GET /api/manager/by-site/{site_id}: list managers linked to a site (admin auth)
- DELETE /api/manager/site-access: remove a manager's access to a site (admin auth)
Sysadmin API client:
- getManagersBySite, addManagerToSite, removeManagerSiteAccess
SiteDetailPage.jsx:
- Remote Managers section: lists all linked managers with email, name, active badge
- Add Manager modal: email + full name + password form (password ignored if account exists)
- Remove access button with optimistic removal from list
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
This this is the Cloud Backend + Sysadmin panel, for the Xenia POS system
Languages
JavaScript
74.3%
Python
23.4%
Dockerfile
1%
HTML
0.9%
CSS
0.4%