ngqile and Claude Opus 5.5
92c8ad3b25
docs(openspec): close admin self-escalation found in review
...
A non-super admin cannot change their own roles or the grants of a role they hold,
hidden roles cannot be assigned, and the direct set-password endpoint goes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 22:22:49 +08:00
ngqile and Claude Opus 5.5
4d261d20d5
docs: hide ROLE_ADMIN from role management (attached to every admin, grants nothing)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 20:26:46 +08:00
ngqile and Claude Opus 5.5
9f22837a00
feat(mobile-api): admin login, first-login, forgot password, logout, refresh and me
...
Wrong, blank or failed logins all answer the same 401. A deactivated admin is
refused and the token services-auth issued is revoked. resetAdminPassword now
refuses deactivated users and users without an email.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 19:55:58 +08:00
ngqile and Claude Opus 5.5
1bfc1c73c6
docs: record admin guard details found while building task 3.1
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 19:44:11 +08:00
ngqile and Claude Opus 5.5
f97bf48d93
docs: propose add-admin-auth-users-roles (change 2)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 19:17:36 +08:00