Commit Graph

2554 Commits

Author SHA1 Message Date
Jakub Zych
782f4dc19d test(36-04): add Go unit and integration tests for token scopes and pier boot warnings 2026-11-24 20:07:21 +01:00
Jakub Zych
e48ceab3ce docs(36-03): record summary for core plugin token scopes 2026-11-24 20:00:02 +01:00
Jakub Zych
f61906f970 docs(36-02): add Plan 36-02 execution summary 2026-11-24 19:50:29 +01:00
Jakub Zych
3781c9792d test(36-02): update test fixtures for granular scopes and rebuild embedded admin dist 2026-11-24 19:49:38 +01:00
Jakub Zych
336664684b feat(36-02): integrate ScopeAccessControl and in-dialog ScopePicker swap into ApiTokenCreateDialog 2026-11-24 19:49:38 +01:00
Jakub Zych
6d7325e6d8 feat(36-02): add shared scope picker module and wire ConnectView 2026-11-24 19:40:02 +01:00
Jakub Zych
3fd804e8c8 docs(36-01): add Plan 36-01 execution summary 2026-11-24 19:33:32 +01:00
Jakub Zych
c8985af874 feat(36-01): add EN/PL scope picker phrasebook copy, regenerate OpenAPI/TS schema, and update docs 2026-11-24 19:32:59 +01:00
Jakub Zych
ca7980ef54 feat(36-01): export cabana.TokenScopeCovers and warn on uncovered backend write MCP tools in pier.Mount 2026-11-24 19:30:51 +01:00
Jakub Zych
cb259ba910 feat(36-01): add TokenScope.Group and AdminAPITokenScope plugin_id/group metadata 2026-11-24 19:28:59 +01:00
Jakub Zych
7644786d62 docs(36): create phase plan 2026-11-24 18:56:21 +01:00
Jakub Zych
4c078005c0 docs(36): add UI design contract 2026-11-24 17:50:33 +01:00
Jakub Zych
c6b1a2bf73 docs(state): record phase 36 context session 2026-11-24 17:32:15 +01:00
Jakub Zych
ab64f649b0 docs(36): capture phase context 2026-11-24 17:32:13 +01:00
Jakub Zych
7595a0c77e docs(31): revise plans for WavePath drift since 2026-11-13
Pins and the route/bucket inventory are resolved at recording time
instead of hardcoded. Absorbs the new rate buckets, the numeric-clock
mask gap, xcapture URL exclusion, Typesense in the PHP stack, and a
CRT user in the foundation slice with thread follow/read state as
additive columns on the chat thread table. ROADMAP SC1 drops the
literal route count.
2026-11-22 11:54:06 +01:00
Jakub Zych
854e198a29 docs(31): research drift since 2026-11-13 2026-11-22 11:01:09 +01:00
Jakub Zych
e41af40dc2 docs(phase-32.2): complete phase 2026-11-21 19:15:22 +01:00
Jakub Zych
66a3ee8eeb docs(32.2): verification passed after UAT 2026-11-21 19:14:12 +01:00
Jakub Zych
4052d5dce8 docs(phase-32.2): add security threat verification 2026-11-21 19:13:50 +01:00
Jakub Zych
2e09cde224 test(32.2): complete UAT - 3 passed, 0 issues 2026-11-21 16:22:46 +01:00
Jakub Zych
1abbcec72b docs(32.2): record v0.6.7 and v0.1.8 release, changelog posts and grzyby deploy 2026-11-21 15:26:30 +01:00
Jakub Zych
10c8a05d06 docs(32.2): record tag-and-publish release decision v0.6.7 2026-11-21 13:30:58 +01:00
Jakub Zych
eb721a77fc test(32.2): reorder UAT so the release precedes the live checks 2026-11-21 13:27:39 +01:00
Jakub Zych
449ff6a454 docs(32.2): re-verify phase after code review fixes 2026-11-21 13:27:23 +01:00
Jakub Zych
5a54122efa docs(32.2): shorten COVERAGE.md opt-out reason for the coverage gate 2026-11-21 13:20:10 +01:00
Jakub Zych
261ad3fd43 docs(32.2): reconcile code review disposition after fixes 2026-11-21 10:03:58 +01:00
Jakub Zych
cf96d372c7 docs(32.2): add code review fix reports 2026-11-21 10:03:43 +01:00
Jakub Zych
0ade662a04 fix(32.2): WR-06 check the consent provider's redirect against the request's redirect URI
cabana loads the pending request on both decisions and refuses (500) a Decide answer whose scheme, user info, host, path or opaque part differ from the registered redirect URI. The admin SPA also refuses blob:, file:, about: and filesystem: and a destination that does not return to the host the consent card showed. Regenerated the admin OpenAPI document and rebuilt modules/boardwalk/dist.
2026-11-21 09:32:54 +01:00
Jakub Zych
60bc6ee68f fix(32.2): WR-05 hand the deactivate revocation the plain transaction
The deactivate lifecycle fired BackendAccessRevokedEvent with actionDB's Unscoped session, so a listener's Delete through ev.Tx was a hard delete only for that reason. It now passes the save's transaction like every other site.
2026-11-21 09:21:59 +01:00
Jakub Zych
a261a8fdfe fix(32.2): WR-04 never fire BackendAccessRevokedEvent without the save's transaction
fireBackendAccessRevoked refuses a nil tx before any listener runs, and the Administrators and Roles update hooks fail closed (like the delete hook) when the save carries no transaction, instead of firing with whatever TxFromContext answered.
2026-11-21 09:17:33 +01:00
Jakub Zych
19bb3f9485 fix(32.2): WR-03 refuse an unknown MCPGrant.Subject instead of treating it as a user grant
pier now resolves only the empty subject (frontend user grant) and pact.MCPGrantSubjectBackend; any other value is ErrUnauthorized and never reaches the linked-administrator lookup.
2026-11-21 09:11:46 +01:00
Jakub Zych
1dcc2ed06d fix(32.2): WR-02 refuse a ConsentPath that is not a same-origin path
Add wristband.CheckConsentPath (additive, for hosts to call at boot) and make Authorize answer 500 before storing a pending request while the configured path fails it, so the handoff can never leave the issuer's origin.
2026-11-21 09:08:12 +01:00
Jakub Zych
fa7a84821e fix(32.2): WR-01 apply DefaultScopes to offline_access-only authorize requests
A request naming only offline_access now gets Options.DefaultScopes (when set) plus offline access instead of a pending request with zero data scopes. The read fallback is only used when the server accepts read; otherwise the request is refused with invalid_scope (RFC 6749 3.3).
2026-11-21 09:05:07 +01:00
Jakub Zych
20260e8bb4 test(32.2): persist human verification items as UAT 2026-11-21 02:52:39 +01:00
Jakub Zych
e238537fc2 docs(32.2): phase verification report 2026-11-21 02:52:38 +01:00
Jakub Zych
c16402f79b docs(32.2): record code review disposition 2026-11-21 02:41:55 +01:00
Jakub Zych
7a2b4954be docs(32.2): add code review reports 2026-11-21 02:41:41 +01:00
Jakub Zych
75f45933b8 docs(phase-32.2): update tracking after wave 4 2026-11-21 02:31:05 +01:00
Jakub Zych
7a39fda957 docs(32.2-05): record the hold release decision and complete the tests plan
- 32.2-05-release-decision.txt: hold, framework-base v0.6.6, plugin-base v0.1.7
- 32.2-05-SUMMARY.md: tests, regression exit codes, deviations, release
  pending the user's go-ahead, live SameSite connector check unverified
2026-11-21 02:30:45 +01:00
Jakub Zych
fc90a5470c docs(32.2-05): update deferred items after the plugin tests 2026-11-21 02:22:48 +01:00
Jakub Zych
b1b96d85da fix(32.2-05): run admin:reset-password in a lagoon transaction
The reset fired BackendAccessRevokedEvent inside a plain GORM
transaction, where lagoon.AfterCommit refuses to run, so a listener's
after-commit work (sm-oauthserver-plugin's revoked MCPSubjectChanged
events that end MCP sessions) never ran for this D-13 site.
TestBackendAccessRevokedEvent now asserts the after-commit callback runs
once for a committed reset and not for a vetoed one.
2026-11-21 02:14:12 +01:00
Jakub Zych
1e00ed3d3e test(32.2-05): admin SPA tests for the consent screen, login hint and My account item rows
- ConnectView.test.ts: every C1 state, the * rule, no auto-allow, Allow and
  Deny bodies through window.location.assign, forbidden schemes, switch
  account, 401/404 handling, focus and the profile fallback
- router, LoginView and AccountContributions tests extended for /connect,
  the login hint and item rows (null items unchanged, empty block, :title
  confirm, 404 item_gone, 409 action_stale)
2026-11-21 02:00:16 +01:00
Jakub Zych
7ecfa6087d test(32.2-05): unit tests for administrator MCP grants, admin consent, account items and access revocation
- wristband: TestAuthorizeConsentPath, TestAuthorizeDefaultScopes
- pier: TestBackendOnlyGrant, TestLinkedGrantNoScopeLimit (Docker)
- cabana: TestTokenScopeNames, TestMCPAdminConsent, TestAccountContributionItems,
  TestBackendAccessRevokedEvent (Docker); export_test.go exposes the event
  helper for the de-duplication case
2026-11-21 02:00:16 +01:00
Jakub Zych
d450a6819e docs(phase-32.2): update tracking after wave 3 2026-11-21 01:40:46 +01:00
Jakub Zych
308f121d1b docs(32.2-04): complete first-consumer administrator MCP OAuth plan 2026-11-21 01:40:19 +01:00
Jakub Zych
fdcab18bb8 docs(phase-32.2): update tracking after wave 2 2026-11-21 01:27:06 +01:00
Jakub Zych
7e89a9d7e4 docs(32.2-03): complete sm-oauthserver-plugin backend-subject mode plan 2026-11-21 01:26:39 +01:00
Jakub Zych
26af5f9549 docs(phase-32.2): update tracking after plan 32.2-02 2026-11-21 00:59:08 +01:00
Jakub Zych
44a39ff250 docs(32.2-02): complete admin consent screen and account items plan 2026-11-21 00:57:03 +01:00
Jakub Zych
ee754b6b5d chore(32.2-02): rebuild embedded admin dist with the connect screen and account items 2026-11-21 00:53:01 +01:00