Commit Graph

17 Commits

Author SHA1 Message Date
b10f5bee05 drop users.role column: full RBAC through group membership
All checks were successful
CI/CD / detect-changes (pull_request) Successful in 4s
CI/CD / test-frontend (pull_request) Successful in 5s
CI/CD / test-go-pg (pull_request) Successful in 2m22s
CI/CD / test-sqlite (pull_request) Successful in 2m35s
CI/CD / build-and-deploy (pull_request) Successful in 1m18s
The role column was a pre-RBAC artifact. All authorization now flows
through explicit group membership and permission grants:

- Everyone group: all users added on creation (no implicit membership)
- Admins group: grants surface.admin.access + all platform permissions
- JWT claims, login response, profile: role field removed
- OIDC: isIdPAdmin() maps IdP claims → Admins group (no role writes)
- Admin UI: role dropdown removed, admin managed through groups
- Middleware cache simplified to isActive only

28 files changed, -79 lines net. Zero magic roles.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 17:23:12 +00:00
7b6e54d5b7 step 5 (complete): docs purge, fresh ARCHITECTURE + ROADMAP + CHANGELOG
Purged 29,966 lines of stale chat-switchboard documentation:
  - 41 docs/ files (ICD specs, design docs, archive, workflow docs)
  - 5 root MD files (CHANGESET, TURNOVER, ICD-DRIFT-AUDIT, etc.)

New documentation:
  - docs/ARCHITECTURE.md — kernel components, design principles, data layer
  - ROADMAP.md — v0.1.0 through v0.5.0 MVP with decision log
  - CHANGELOG.md — fresh, starting from v0.1.0 fork
  - README.md — rewritten for switchboard-core

Also in this commit:
  - config.go: stripped 7 dropped fields, DB default → switchboard_core
  - pages/loaders.go: stripped provider/model/notes/projects loaders
  - pages/pages.go: stripped persona store lookup
  - handlers/workflows.go: stripped persona tool grants
  - main.go: stripped team provider routes, avatar routes

Production code: zero references to deleted packages, stores, or models.
-29,966/+352 lines across 73 files.
2026-03-26 05:10:40 -04:00
ed3e9363f2 Changeset 0.33.0 (#207)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
2026-03-19 21:37:32 +00:00
d4de84f3f1 Changeset 0.29.1 (#196) 2026-03-17 19:32:20 +00:00
400f7dd176 Changeset 0.26.0 (#165) 2026-03-10 13:38:01 +00:00
b6cc4df6e7 Changeset 0.24.1 (#157) 2026-03-07 17:11:32 +00:00
a63728a481 Changeset 0.24.0 (#156) 2026-03-07 11:27:24 +00:00
3953dcf364 Changeset 0.22.4 (#146) 2026-03-02 22:16:08 +00:00
3423738286 Changeset 0.21.6 (#92) 2026-03-01 23:16:25 +00:00
c5159538ce Changeset 0.21.2 (#88) 2026-03-01 17:45:50 +00:00
09c7281552 Changeset 0.21.1.1 (#87) 2026-03-01 16:40:26 +00:00
856dc9b0ac Changeset 0.17.1 (#76) 2026-02-28 01:40:31 +00:00
88216ec4cb Changeset 0.12.0 (#63) 2026-02-25 21:38:49 +00:00
5e416d3726 Changeset 0.9.4 (#54) 2026-02-24 10:44:12 +00:00
ac7c7c7d59 Changeset 0.9.2 (#52) 2026-02-23 19:31:33 +00:00
925b70f98c Changeset 0.6.0 (#36) 2026-02-20 22:24:47 +00:00
c75f976a2d [BACKEND] Initialize Go backend structure and dependencies (#23) 2026-02-15 22:50:06 +00:00