Skip to content

feat(ui)!: remove the access-requests surfaces (theme 7, phase 3) - #1377

Open
Manuel-Jentic wants to merge 2 commits into
mainfrom
feat/theme-7-ui-removal
Open

Manuel-Jentic wants to merge 2 commits into
mainfrom
feat/theme-7-ui-removal

Conversation

@Manuel-Jentic

Copy link
Copy Markdown
Collaborator

Part of epic #1374 (plan: jentic-one-plans#46). Merges after the phase-2 backend removal; enterprise companion PR removes the admin Requests tab.

Summary

Removes the queue page, rail dialogs (decision/plain/provisioning wizard), pending-count badge/bell arm, per-actor card, and libs/hooks. /app/access-requests now redirects to the dashboard. access_request.* stream events are tolerated-but-unrendered (RETIRED_EVENT_TYPE_PREFIXES, dropped at backlog + SSE ingestion, with pinning tests) so historical rows never crash the rail.

Notes

  • Extracted shared/lib/permissionRules.ts — rule primitives survive for the binding-permissions editor.
  • resolveEvent kept: Monitor's ack path uses it (discovered coupling).
  • Generated client (shared/api/generated/**, ui/openapi.json) deliberately untouched — phase 2 owns the spec regen; only hand-written imports removed.
  • docker e2e legs stripped; shared seams (provisionAdminOwnedAgent, setAgentOwner) kept.

Verification

vitest 1054/1054 (125 files); eslint 0; tsc 0; e2e specs typecheck clean.

Made with Cursor

Removes every access-request UI surface for theme 7 phase 3: the
dashboard queue page (/app/access-requests now redirects to the
dashboard), the nav badges, the ActionInboxBell access-request arm, the
rail decision dialogs and inline View/Deny actions, the per-actor
ActorAccessRequestsCard, and the accessRequests/provisioningPlan/
provisioningFulfilment libraries with their hooks, query keys, mocks,
unit suites, and docker e2e legs. Historical access_request.* stream
events are tolerated at ingestion (dropped, never rendered) so old
backlogs cannot crash the rail. The shared permission-rule display
primitives survive as shared/lib/permissionRules.

ui/src/shared/api/generated/** and ui/openapi.json are deliberately
untouched: the backend endpoints still exist in this phase and phase 2
owns the regen.

BREAKING CHANGE: the access-requests UI is gone; agents obtain access
via direct grants and connect sessions (epic #1374).

Refs #1374
@Manuel-Jentic Manuel-Jentic self-assigned this Sep 15, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant