diff --git a/openspec/changes/add-admin-auth-users-roles/tasks.md b/openspec/changes/add-admin-auth-users-roles/tasks.md index d979de6..ac1ac97 100644 --- a/openspec/changes/add-admin-auth-users-roles/tasks.md +++ b/openspec/changes/add-admin-auth-users-roles/tasks.md @@ -40,7 +40,7 @@ Babyboo source: `~/Projects/babyboo` (read only). All tasks run serially; most t - [x] 7.1 Update `local/smoke.sh` to log in via `POST :8080/api/admin/auth/login` and call `/api/admin/me` and `/api/admin/users` (keep the counter read and the public call); add the portal to the README run steps (`npm run dev` with `MOBILE_API_BASE_URL=http://localhost:8080` and the app key). Verify: fresh `local/up.sh` then `local/smoke.sh` prints `smoke: OK`. - Scope: `local/smoke.sh`, `local/README.md`, `local/.env.example` -- [ ] 7.2 Drive the portal in a browser with Playwright against the local stack: login (correct and wrong password), first-login change for a new user, users list/create/edit/deactivate, roles create and grant `BO_USERS`, not-authorised page for a user without `BO_ROLES`, forgot-password message. Screenshots in the change folder's `verification/`. Only local dev data is created. Verify: each scenario observed as specified. +- [x] 7.2 Drive the portal in a browser with Playwright against the local stack: login (correct and wrong password), first-login change for a new user, users list/create/edit/deactivate, roles create and grant `BO_USERS`, not-authorised page for a user without `BO_ROLES`, forgot-password message. Screenshots in the change folder's `verification/`. Only local dev data is created. Verify: each scenario observed as specified. - Scope: `openspec/changes/add-admin-auth-users-roles/verification/**` ## Workflow follow-up diff --git a/openspec/changes/add-admin-auth-users-roles/verification/01-login-wrong-password.png b/openspec/changes/add-admin-auth-users-roles/verification/01-login-wrong-password.png new file mode 100644 index 0000000..f7273b5 Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/01-login-wrong-password.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/02-users-list.png b/openspec/changes/add-admin-auth-users-roles/verification/02-users-list.png new file mode 100644 index 0000000..ebcbab0 Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/02-users-list.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/03-role-create.png b/openspec/changes/add-admin-auth-users-roles/verification/03-role-create.png new file mode 100644 index 0000000..1a9e6f5 Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/03-role-create.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/04-role-duplicate.png b/openspec/changes/add-admin-auth-users-roles/verification/04-role-duplicate.png new file mode 100644 index 0000000..00a98f0 Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/04-role-duplicate.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/05-role-grant-users.png b/openspec/changes/add-admin-auth-users-roles/verification/05-role-grant-users.png new file mode 100644 index 0000000..70eca42 Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/05-role-grant-users.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/06-user-created.png b/openspec/changes/add-admin-auth-users-roles/verification/06-user-created.png new file mode 100644 index 0000000..51c7e71 Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/06-user-created.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/07-own-account-locked.png b/openspec/changes/add-admin-auth-users-roles/verification/07-own-account-locked.png new file mode 100644 index 0000000..5fd034b Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/07-own-account-locked.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/08-first-login-weak.png b/openspec/changes/add-admin-auth-users-roles/verification/08-first-login-weak.png new file mode 100644 index 0000000..e27f36f Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/08-first-login-weak.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/09-sales-home.png b/openspec/changes/add-admin-auth-users-roles/verification/09-sales-home.png new file mode 100644 index 0000000..2ea3f87 Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/09-sales-home.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/10-not-authorised.png b/openspec/changes/add-admin-auth-users-roles/verification/10-not-authorised.png new file mode 100644 index 0000000..ca2bd3b Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/10-not-authorised.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/11-deactivated-signed-out.png b/openspec/changes/add-admin-auth-users-roles/verification/11-deactivated-signed-out.png new file mode 100644 index 0000000..aa8c3fd Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/11-deactivated-signed-out.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/12-forgot-password.png b/openspec/changes/add-admin-auth-users-roles/verification/12-forgot-password.png new file mode 100644 index 0000000..3932395 Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/12-forgot-password.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/13-login-copy.png b/openspec/changes/add-admin-auth-users-roles/verification/13-login-copy.png new file mode 100644 index 0000000..4c5506e Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/13-login-copy.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/14-role-duplicate.png b/openspec/changes/add-admin-auth-users-roles/verification/14-role-duplicate.png new file mode 100644 index 0000000..94b5b37 Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/14-role-duplicate.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/15-user-created-banner.png b/openspec/changes/add-admin-auth-users-roles/verification/15-user-created-banner.png new file mode 100644 index 0000000..92cc97a Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/15-user-created-banner.png differ diff --git a/openspec/changes/add-admin-auth-users-roles/verification/16-reset-password-hint.png b/openspec/changes/add-admin-auth-users-roles/verification/16-reset-password-hint.png new file mode 100644 index 0000000..9224f05 Binary files /dev/null and b/openspec/changes/add-admin-auth-users-roles/verification/16-reset-password-hint.png differ