Demo sign-in credentials
PreMIES has no backend wired up yet. While NUXT_PUBLIC_DEMO_MODE is on, every authentication call is answered from an in-memory table. These are the 13 accounts that table accepts, and the state each one is parked in. They all share one password.
One password for every account
Every account below signs in with the same password, so only the email changes from one row to the next. Changing it from Settings replaces it for that account only, and only in this browser.
Password#0
One passcode for every code screen
Email verification and password-reset codes both accept the same demo passcode. Resending issues a new code, but this one keeps working.
123456
Meter Supplier
| Account state | What happens on sign-in | |
|---|---|---|
| supplier@premies.test | Meter supplier, verified, onboarding approved | Signs straight in with full supplier access. |
| supplier.new@premies.test | Meter supplier, verified, onboarding not started | Signs in, then lands on the Submit Request onboarding form. |
| supplier.pending@premies.test | Meter supplier, onboarding submitted, awaiting review | Signs in and sees the pending-review state. |
| supplier.rejected@premies.test | Meter supplier, onboarding rejected | Signs in and is returned to the onboarding form to resubmit. |
| supplier.unverified@premies.test | Meter supplier, registered, email never verified | Login is held back and the verify-email modal opens. Enter 123456. |
| supplier.suspended@premies.test | Meter supplier, account suspended | Login is refused with a suspension notice. |
Admin
| Account state | What happens on sign-in | |
|---|---|---|
| admin@premies.test | Programme administrator on the PMI scheme, email verified | Signs straight in with administrator access. The app is drawn in PMI purple. Settings carries System Settings and User Groups; the administration's own roles are read-only, because only a super administrator changes those. |
| superadmin@premies.test | PMI super administrator — sees every scheme on the programme | The same five modules as a scheme administrator, but unfiltered: contracts, schedules and installations from PMI, DisRep and MAF together, plus an Administrators screen listing every administrator on the system. The only session that may change Programme Administration's own roles, too. Still drawn in PMI purple, because a super admin is a PMI administrator with reach rather than a fourth scheme. |
| admin.disrep@premies.test | Programme administrator on the DisRep scheme, email verified | The same portal as the PMI administrator, drawn in DisRep magenta — the scheme is what separates one administrator from another. |
| admin.maf@premies.test | Programme administrator on the MAF scheme — role does not keep the reference lists | The same portal again, drawn in MAF cyan. Settings carries no System Settings tab, and the address is refused: that section needs the settings.system.manage permission, which this administrator's role does not grant. |
NEMSA
| Account state | What happens on sign-in | |
|---|---|---|
| nemsa@premies.test | NEMSA reviewer, email verified | Signs straight in with NEMSA review access. |
Disco
| Account state | What happens on sign-in | |
|---|---|---|
| disco@premies.test | Disco operator (AEDC), service points set up | Signs straight in with full Disco access and a working dashboard. |
| disco.new@premies.test | Disco operator just invited by the admin — no service points and no warehouse | Signs in, but every route except the dashboard bounces back to it. Account setup is two steps: upload the Region › CSP › TSP file, then add a warehouse. The portal opens once both are in. |
Registration invitations
Registration is invitation-only. /auth/register is guarded by a ?token= query and refuses a visit without one, so these are the four links that open a form. Each fills in what the invitation already knows and locks it; you supply a name and a password. A token is spent once used, and a page reload makes all four work again.
| Role | Invited address | Locked to | Link |
|---|---|---|---|
| Meter Supplier | invited.supplier@premies.test | Zenith Metering Industries | Open the form |
| Disco | invited.disco@premies.test | Kaduna Electricity Distribution Company | Open the form |
| NEMSA | invited.nemsa@premies.test | — | Open the form |
| Admin | invited.admin@premies.test | DisRep | Open the form |
