Accounts and roles¶
Roles¶
| Role | Can do |
|---|---|
| Superadmin | Everything: manage admins, managers and users; retention; analytics; API usage |
| Manager | Manage their admins and bidders; resolve requests; see work and pay; impersonate an admin for support |
| Admin | Work the job pool; assign jobs; run Auto Apply for their own queue |
| Bidder | See their assigned jobs; record outcomes through the extension |
Each admin and bidder belongs to one manager. A bidder can work for more than one admin, and the backend handles that when merging duplicate bidder records.
Signing in¶
- Users sign in with their account. The session is refreshed in the background (
POST /auth/refresh), so people are not logged out in the middle of a task. - The dashboard and the extension use the same accounts.
Impersonation¶
A manager can open the dashboard as one of their admins to help with a problem. A banner shows while impersonating.
Things that cannot be done¶
- Admins and managers cannot be deleted through the manager screens. The superadmin manages them.
- A bidder cannot set a final job status on their own (see bidder requests).
For engineers
Routes: POST /auth/login, POST /auth/refresh, GET /auth/me, PUT /auth/account, POST /manager/admins/{id}/impersonate, GET /admin/admins, POST /admin/managers.
Backend: app/auth.py, app/authz.py (role checks), app/routers_admin.py. Dashboard: src/app/routes.jsx (role guards).
Full list: feature map.