TruSTI Admin Dashboard Guide

The admin dashboard (dashboard/) is a separate, session-authenticated area for managing reference data, reviewing generated reports, and managing dashboard accounts. Unrelated to the report-generation API's shared-secret key.

Logging in

dashboard/login.php checks the submitted credentials against the users table with password_verify(). No password-reset-by-email flow - edit the row directly (Users page or SQL) to reset one.

Default account: admin / TruPath@2026 (seeded by database/schema.sql). Change this before any production deployment - it is a known value, not a secret, until rotated.

Dashboard pages

PagePurpose
dashboard/index.phpOverview - record counts and data-library metadata.
dashboard/reports.phpBrowse/filter previously generated reports, download their PDFs.
dashboard/targets.phpManage the 14-organism STI panel (STI01-STI15, STI10 reserved) and each target's ranked recommendations.
dashboard/antimicrobials.phpManage master_clinical_info directly - the only source of an alternative's info/renalStatus/hepaticStatus at render time.
dashboard/users.phpManage dashboard accounts. Requires the admin role.

There is no "MAST Plates" page and no MAST-eligible column anywhere - this product has no MAST/culture workflow at all. All pages were verified end-to-end against this schema: clean php -l, zero PHP warnings/notices/errors over a real local HTTP session with the populated database.

How this product's clinical engine actually differs

Cloned from tpl-wound's PHP/MySQL architecture (same 1102x1427 canvas and color palette), but this product's clinical algorithms, data model, and report layout are its own, ported literally from the approved standalone generator:

Users (add/remove dashboard accounts)

dashboard/users.php is admin-role-only: add (username, full name, role, 8+ char password hashed via password_hash()), edit (blank password keeps the existing one), or delete (cannot delete the account you're logged in as).

What the Admin Dashboard does NOT do

← Back to Report Generator