Skip to content

feat(settings): Add sample UI for service account creation - #128556

Closed
DominikB2014 wants to merge 1 commit into
masterfrom
dominikbuszowiecki/poc-service-account-creation
Closed

DominikB2014 wants to merge 1 commit into
masterfrom
dominikbuszowiecki/poc-service-account-creation

Conversation

@DominikB2014

Copy link
Copy Markdown
Contributor

Sample UI for the service account creation flow. It's a proof of concept to drive design discussion and isn't meant to merge as is. All data is hardcoded and nothing is saved: Create only shows a toast.

You can find it at /settings/<org-slug>/service-accounts/new/, and there's a "Service Accounts" item under Members in the org settings nav.

The page has three sections:

  • Details: name and description.
  • Project Access: a controlled form version of the project page filter. "All Projects" resolves to the projects that exist when the account is created.
  • Permissions:
    • Guardrails ("Block cost-impacting actions" and "Only allow irreversible actions on its own data"), both on by default.
    • Bundles: Read Only, CI, Default Agent, "Whatever my role can do", and Custom.
    • Each bundle shows a summary and a collapsible Read/Write breakdown by resource. Custom opens an inline picker.

Scope and bundle data lives in serviceAccountData.tsx and follows the granular permissions proposal.

Refs ENG-8854

Proof of concept for the service account creation flow, with hardcoded permission bundles, guardrails and project access. Nothing is saved; Create only shows a toast.

Refs ENG-8854
@linear-code

linear-code Bot commented Oct 22, 2026

Copy link
Copy Markdown

ENG-8854

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

Metric Before After Delta
Coverage 95.77% 95.78% 🟢 +0.01%
Typed 141,712 141,941 🟢 +229
Untyped 6,253 6,257 🔴 +4
🔍 4 new type safety issues introduced

Non-null assertions (!) (4 new)

File Line Detail
static/app/views/settings/organizationServiceAccounts/newServiceAccount.tsx 209 levelScopes[0]!
static/app/views/settings/organizationServiceAccounts/newServiceAccount.tsx 276 bundles.find(bundle => bundle.id === bundleId)!
static/app/views/settings/organizationServiceAccounts/newServiceAccount.tsx 310 bundles.find(bundle => bundle.id === CUSTOM_BUNDLE_ID)!
static/app/views/settings/organizationServiceAccounts/newServiceAccount.tsx 313 GUARDRAILS.find(g => g.id === id)!

This is informational only and does not block the PR.

@getsantry

getsantry Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry Bot added the Stale label Nov 13, 2026
@getsantry getsantry Bot closed this Nov 21, 2026

This branch was successfully deployed

1 active deployment
Preview — 87b950f1 Deployed Oct 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant