Add internal staff IAM: named users, roles, and management permissions.
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
verae-staff-iam (:3028) is the people directory — owner, billing-admin, cs, sales, accounting, operator, viewer — with scrypt passwords, sessions, and an audit log. Admin console login uses it when STAFF_IAM_URL is set and hides tabs the account cannot use. CS/sales/accounting/staff/fleet check permissions such as cs.credit and fleet.operate. Shared staff key remains only as a fallback when IAM is unset.
This commit is contained in:
parent
2740d51446
commit
d299d245e8
41 changed files with 1337 additions and 52 deletions
|
|
@ -32,6 +32,13 @@
|
|||
- Disable lan-134 unless `FLEET_ENABLE_LAN134=1`.
|
||||
- SSH spawn timeout 8s; failed hosts skipped.
|
||||
|
||||
## 2026-09-11 — staff IAM
|
||||
|
||||
- New `verae-staff-iam` :3028 — users, roles, permissions, sessions, audit UI.
|
||||
- Admin login uses IAM when `STAFF_IAM_URL` is set; tabs hide without permission.
|
||||
- CS/sales/accounting/access-staff/fleet mutating APIs check `cs.credit`, `sales.quote`, `accounting.export`, `fleet.operate`, etc.
|
||||
- Seed: admin/cs/sales/accounting/operator. Shared staff key is fallback only.
|
||||
|
||||
## 2026-09-11 — last three UI leftovers
|
||||
|
||||
- Swagger `/docs` stays stock; banner names it OpenAPI explorer.
|
||||
|
|
|
|||
|
|
@ -4,5 +4,6 @@
|
|||
- [ ] NATS nkeys/mTLS on a real three-node cluster (accounts file is the lab stand-in).
|
||||
- [x] Exclusive JetStream consumer for `verae.zapier.jobs.events` on `verae-jobs-events` (`JOBS_EVENTS_EXCLUSIVE=1`; middleware skips the router).
|
||||
- [x] Auth on CS/sales/accounting HTML via `verae-staff-session` (`STAFF_AUTH=1`).
|
||||
- [x] Staff IAM: named users, roles, permissions (`verae-staff-iam` :3028).
|
||||
- [ ] Zapier Platform `push` of a private app.
|
||||
- [ ] Move portal static files fully into `verae-access-web` (today it proxies `/portal` to loopback edge).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue