feat: add public h5 dashboard and publish traceability
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
|
||||
## Durable Rules
|
||||
|
||||
- Human access to desktop/H5 pages, detailed health, business APIs, uploads, traces and downloads requires an authenticated ARR Web session. Only login assets, `POST /api/login` and no-detail `/healthz` readiness are anonymous.
|
||||
- Human access to the desktop Finance workspace, detailed health, generic business APIs, uploads, traces and downloads
|
||||
requires an authenticated ARR Web session. The H5 mobile dashboard is an intentional anonymous read-only exception:
|
||||
only its page/assets, `/api/public/h5/months`, `/api/public/h5/analytics` and no-detail `/healthz` are public; the H5
|
||||
projection contains aggregate channel/room metrics and omits source hashes and operational metadata.
|
||||
- The single-operator login identity is injected as `ARR_WEB_USERNAME` / `ARR_WEB_PASSWORD`; real credentials are never stored in source or returned/logged. Missing credentials fail Web startup closed.
|
||||
- Login failures use a generic message and bounded attempt blocking. Logout revokes the server-side session; authenticated mutations continue to require CSRF.
|
||||
- The user uploads XML; the user does not submit a report year, report month, cutoff date, or separate monthly-generation request in the primary workflow.
|
||||
|
||||
Reference in New Issue
Block a user