Repository navigation
feat(service-accounts): Add settings pages to list and create service accounts - #130140
Closed
sentry-junior[bot] wants to merge 6 commits into
Closed
sentry-junior[bot] wants to merge 6 commits into
sentry-junior[bot] wants to merge 6 commits into
Conversation
Contributor
📊 Type Coverage Diff✅ no issues found |
sentry-junior
Bot
force-pushed
the
feat/service-accounts-settings-list-create
branch
from
November 6, 2026 18:47
7801878 to
c6d16ee
Compare
Contributor
|
No findings on the latest commit. |
Contributor
Author
|
Re the decision-model-linter voice warning: I'm keeping "Service Accounts" as is. Every other item in |
skaasten
added a commit
that referenced
this pull request
Nov 9, 2026
Sets `api_expose=True` on `organizations:service-accounts` so the flag shows up in `organization.features` on the frontend. The settings pages in #130140 use this flag to show the "Service Accounts" nav item. Without it, the item stays hidden even for orgs with the flag enabled. This was split out of #130140 so that PR stays frontend-only. Either PR can deploy first: if the frontend ships first, the nav item just stays hidden until this lands. Nothing else changes. Backend checks still go through `features.has(...)`. <!-- junior-request-attribution:start --> via **shaun.kaasten**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0CA89MBDQB%3A1793911581.772709 --> -- [View Session](https://junior-prod.sentry.dev/conversations/slack%3AC0CA89MBDQB%3A1793911581.772709) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0CA89MBDQB%3A1793911581.772709/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: Shaun Kaasten <[email protected]> Co-authored-by: Shaun Kaasten <[email protected]>
sentry-junior
Bot
force-pushed
the
feat/service-accounts-settings-list-create
branch
from
November 9, 2026 15:06
83ccd6f to
d6f239e
Compare
skaasten
marked this pull request as ready for review
November 9, 2026 15:53
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d6f239e. Configure here.
This was referenced Nov 9, 2026
sentry-junior
Bot
force-pushed
the
feat/service-accounts-settings-list-create
branch
from
November 9, 2026 19:54
93b31ac to
9ef839f
Compare
sentry-junior
Bot
force-pushed
the
feat/service-accounts-settings-list-create
branch
from
November 12, 2026 20:11
9ef839f to
3dc0d04
Compare
… accounts
Rough draft of the service account settings UI, wired to the existing
control-silo endpoints. The list page shows each account's scopes,
project access and creation date. The create page takes a name, project
access (specific projects or all projects) and permissions, and posts
to /organizations/{org}/service-accounts/.
The nav item is behind organizations:service-accounts. Tokens come in a
later PR.
Co-Authored-By: Shaun Kaasten <[email protected]>
Parse the API error detail with zod and check the org's access through a Set<string>, so neither page needs an `as` cast. Co-Authored-By: Shaun Kaasten <[email protected]>
…cess Add service_account:read and service_account:write to ALLOWED_SCOPES so the frontend Scope type knows about them, and use the standard access helper instead of reading organization.access by hand. Co-Authored-By: Shaun Kaasten <[email protected]>
A duplicate name or bad projectIds error already shows on its field, so the generic failure toast on top of it was noise. Toast only for string details, scope errors, and responses with no field to attach to.
Pick service account scopes from a searchable multi-select that starts with read scopes, the same field the Seer automation form uses, instead of the integration permission dropdowns. The grantable-scope filter, read defaults and option list move to a shared scopes module that both forms import, and a scopes error from the API now shows on the field. Co-Authored-By: Shaun Kaasten <[email protected]>
master replaced field.Radio.Group and field.Radio.Item with the type-safe field.RadioGroup (#130231), so the project access radios move to it and pass field.handleChange directly.
sentry-junior
Bot
force-pushed
the
feat/service-accounts-settings-list-create
branch
from
November 12, 2026 22:11
3dc0d04 to
03abc08
Compare
Contributor
Author
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Rough draft of the service account settings UI, hidden behind service accounts feature flag.
List (
/settings/{org}/service-accounts/)Create (
/settings/{org}/service-accounts/new/)Nav: "Service Accounts" sits under Members and is shown only when the org has
organizations:service-accounts.Not in this PR: the details page, edit, delete and tokens.