Skip to content

feat: add workers_deployments:read and mcp_portals OAuth scopes#79

Merged
mattzcarey merged 2 commits intomainfrom
feat/add-new-oauth-scopes
Mar 18, 2026
Merged

feat: add workers_deployments:read and mcp_portals OAuth scopes#79
mattzcarey merged 2 commits intomainfrom
feat/add-new-oauth-scopes

Conversation

@mattzcarey
Copy link
Contributor

Summary

  • Adds workers_deployments:read to ALL_SCOPES and the read-only scope template
  • Adds mcp_portals:read and mcp_portals:write to ALL_SCOPES
  • Updates REGISTERED_SCOPES in tests to match

Context

These scopes are now registered in bach (prod: !4128) and the OAuth client (terraform-internal-oauth-clients !43).

Test plan

  • npm run check passes (format, lint, typecheck, tests)
  • Scopes test validates ALL_SCOPES matches REGISTERED_SCOPES

Add new scopes to ALL_SCOPES, REGISTERED_SCOPES, and the read-only
template now that they are registered in bach and the OAuth client.
Increase min-width from 140px to 180px and add flex-shrink: 0 to
prevent longer scope names like workers_deployments:read from
overlapping with the description text.
@mattzcarey mattzcarey force-pushed the feat/add-new-oauth-scopes branch from 7dbaa75 to ee93ec5 Compare March 18, 2026 18:20
@mattzcarey mattzcarey merged commit 7464946 into main Mar 18, 2026
4 checks passed
@mattzcarey mattzcarey deleted the feat/add-new-oauth-scopes branch March 18, 2026 18:32
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