Add admin panel for merchant management

- POST/GET/DELETE /api/admin/users endpoints
- Admin UI at /admin with login, user list, create/delete
- Auth via ADMIN_API_KEY env var (separate from tenant auth)
- Tenants remain scoped to their own store only
This commit is contained in:
jwinterm
2026-03-10 11:25:02 -04:00
parent a8fcde59eb
commit d85e26fbbd
9 changed files with 658 additions and 0 deletions
+3
View File
@@ -30,6 +30,9 @@ MONERO_WALLET_RPC_WALLET_DIR=/wallets
# - Local: run the bundled `wownerod` service and set MONERO_DAEMON_URL=http://wownerod:34568
MONERO_DAEMON_URL=http://192.168.88.235:34568
# Admin panel (generate with: openssl rand -base64 32 | tr -d '=' | head -c 32)
ADMIN_API_KEY=
# Registration (set to false to require manual merchant onboarding)
OPEN_REGISTRATION=true