René's URL Explorer Experiment


Title: Custom roles: return every ungrantable permission as validations, and render them in the role editor · Issue #32279 · coder/coder · GitHub

Open Graph Title: Custom roles: return every ungrantable permission as validations, and render them in the role editor · Issue #32279 · coder/coder

X Title: Custom roles: return every ungrantable permission as validations, and render them in the role editor · Issue #32279 · coder/coder

Description: Follow-up to #32263. That issue is about the role editor offering permissions nobody can grant. This one covers what happens when the API rejects permissions: the API should report every invalid permission at once, and the role editor ne...

Open Graph Description: Follow-up to #32263. That issue is about the role editor offering permissions nobody can grant. This one covers what happens when the API rejects permissions: the API should report every invalid pe...

X Description: Follow-up to #32263. That issue is about the role editor offering permissions nobody can grant. This one covers what happens when the API rejects permissions: the API should report every invalid pe...

Opengraph URL: https://github.com/coder/coder/issues/32279

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Custom roles: return every ungrantable permission as validations, and render them in the role editor","articleBody":"Follow-up to #32263. That issue is about the role editor offering permissions nobody can grant. This one covers what happens when the API rejects permissions: the API should report every invalid permission at once, and the role editor needs to render that response properly. Today it can't.\n\n### Background\n\nWhen a custom role contains permissions the caller can't grant, [`customRoleCheck`](https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/coderd/database/dbauthz/dbauthz.go#L1716-L1726) returns on the **first** failure, and [`postOrgRoles`/`putOrgRoles`](https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/enterprise/coderd/roles.go#L78-L84) send the raw wrapped Go error back as `detail`:\n\n```json\n{\"message\":\"Failed to update role permissions\",\"detail\":\"org=\\\"\u003corg-uuid>\\\": org: invalid permission for action=\\\"application_connect\\\" type=\\\"workspace_dormant\\\", not allowed to grant this permission\"}\n```\n\nSo the user fixes one permission per save. The UI also shows the same message twice: once in the form's `ErrorAlert` and once in a toast (see the screenshots on #32263).\n\n### Proposal: accumulate and return `validations`\n\n`customRoleCheck` isn't on a hot path. It only runs on custom role inserts and updates (admin API calls, plus system-role reconciliation, which returns before the escalation loop). There's also prior art for collecting errors and returning them as `codersdk.Response.Validations`:\n\n- `acl.Validate` and `patchWorkspaceACL` ([`updatevalidator.go`](https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/coderd/rbac/acl/updatevalidator.go#L33), [`workspaces.go`](https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/coderd/workspaces.go#L2589))\n- A typed validation error returned from a lower layer and turned into `Validations` with `errors.As`: `chatModelACLValidationError` ([`exp_chats_model_acl.go`](https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/coderd/exp_chats_model_acl.go#L82)) and `aiProviderValidationError`\n\nSuggested backend shape:\n\n- `customRoleCheck` collects every escalation failure, across the site, org, member and user loops, into a typed error such as `*dbauthz.InvalidRolePermissionsError{Permissions []rbac.Permission}`. `dbauthz` doesn't import `codersdk`, so the HTTP mapping belongs in the handler.\n- `postOrgRoles`/`putOrgRoles` use `errors.As` and respond `400` with a human-readable `message` and one `ValidationError` per permission. Give each permission a **unique** `field`, e.g. `organization_permissions.workspace_dormant:ssh`.\n- Keep filling `detail` with a joined summary for clients that only read `detail`. Keep the raw wrapped error in server logs only. No org UUIDs in user-facing text.\n\nI tried a rough version of this locally (diff below). The response then looks like this:\n\n```json\n{\n  \"message\": \"This role includes permissions you can't grant.\",\n  \"validations\": [\n    {\"field\": \"organization_permissions.workspace_dormant:application_connect\", \"detail\": \"You can't grant workspace_dormant:application_connect because you don't have that permission.\"},\n    {\"field\": \"organization_permissions.workspace_dormant:share\", \"detail\": \"You can't grant workspace_dormant:share because you don't have that permission.\"},\n    {\"field\": \"organization_permissions.workspace_dormant:ssh\", \"detail\": \"You can't grant workspace_dormant:ssh because you don't have that permission.\"},\n    {\"field\": \"organization_permissions.workspace_dormant:start\", \"detail\": \"You can't grant workspace_dormant:start because you don't have that permission.\"}\n  ]\n}\n```\n\n### Frontend problem: the role editor can't render this response\n\nWith the backend change above, I reproduced the frontend behavior on `main` @ `b4f8b6756c6a7ddddeab1664b51dea1237740a6e`:\n\n1. **The in-form error disappears.** [`CreateEditRolePageView.tsx#L115`](https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/site/src/pages/OrganizationSettingsPage/CustomRolesPage/CreateEditRolePageView.tsx#L115) only renders `ErrorAlert` when `!isApiValidationError(error)`. It expects field helpers to show validation errors instead, but [`getFormHelpers`](https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/site/src/utils/formUtils.ts#L51-L62) is only wired to `name` and `display_name`. Nothing in the permissions table reads validations, so the form shows **no error at all**, and the selected checkboxes look valid.\n2. **The only signal is a toast with a run-on paragraph.** The toast description comes from `getErrorDetail` → [`getValidationErrorMessage`](https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/site/src/api/errors.ts#L99-L105), which joins the details with `\\n`. The toast doesn't preserve the newlines, so the four errors run together.\n3. **Shared field names would collapse.** [`mapApiErrorToFieldErrors`](https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/site/src/api/errors.ts#L54-L65) does `result[error.field] = detail`, so when several entries share a `field`, only the last one survives. That's why the backend needs one unique field per permission. `acl.Validate` already returns several entries under a single field (one for users, one for groups), so it's worth checking whether any ACL UI relies on this mapping.\n\n### Suggested frontend changes\n\n- Render permission-level validations in the permissions table: mark each offending checkbox and show its `detail` inline. Also show a short summary alert at the top of the form (e.g. \"4 permissions can't be granted\") so the error is visible without scrolling.\n- Drop the `error` case from the `toast.promise` in [`CreateEditRolePage.tsx#L82`](https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/site/src/pages/OrganizationSettingsPage/CustomRolesPage/CreateEditRolePage.tsx#L82) so errors appear once, in the form. Keep its loading and success messages.\n- If a toast or alert still lists several validations, render them as a list instead of joining them with `\\n`.\n\n### Compatibility\n\nThis is an additive change, not a breaking one:\n\n- Same endpoints, same `400` status, same `codersdk.Response` type. `validations` is already an optional field in the response schema.\n- The Go SDK's `codersdk.Error.Error()` already prints every validation, so `coder organization roles create`/`edit` users get the full list without changes.\n- `message` and `detail` are human-readable strings, not a contract. Keeping a `detail` summary helps clients that do string matching. In-repo tests that match `\"not allowed to grant this permission\"` (`dbauthz/customroles_test.go`) need updating if that text changes.\n- The site ships inside the same binary, so there's no frontend/backend version skew. The frontend changes above must land in the same PR, or the role editor gets worse (problem 1).\n\n### Rough backend diff used for the repro\n\nRepro only, not production-ready: it only covers the org loop, and the error type and messages are placeholders.\n\n\u003cdetails>\u003csummary>diff\u003c/summary>\n\n```diff\ndiff --git a/coderd/database/dbauthz/dbauthz.go b/coderd/database/dbauthz/dbauthz.go\nindex 0812156967..68ebefb3aa 100644\n--- a/coderd/database/dbauthz/dbauthz.go\n+++ b/coderd/database/dbauthz/dbauthz.go\n@@ -1717,12 +1717,17 @@ func (q *querier) customRoleCheck(ctx context.Context, role database.CustomRole,\n \t}\n \n \tfor orgID, perms := range rbacRole.ByOrgID {\n+\t\t// REPRO-ONLY: accumulate escalation failures instead of returning the first.\n+\t\tvar invalid []rbac.Permission\n \t\tfor _, orgPerm := range perms.Org {\n \t\t\terr := q.customRoleEscalationCheck(ctx, act, orgPerm, rbac.Object{OrgID: orgID, Type: orgPerm.ResourceType})\n \t\t\tif err != nil {\n-\t\t\t\treturn xerrors.Errorf(\"org=%q: org: %w\", orgID, err)\n+\t\t\t\tinvalid = append(invalid, orgPerm)\n \t\t\t}\n \t\t}\n+\t\tif len(invalid) > 0 {\n+\t\t\treturn &InvalidRolePermissionsError{Permissions: invalid}\n+\t\t}\n \t\tfor _, memberPerm := range perms.Member {\n \t\t\t// The person giving the permission should still be required to have\n \t\t\t// the permissions throughout the org in order to give individuals the\n@@ -10098,3 +10103,12 @@ func (q *querier) GetAuthorizedMCPServerConfigs(ctx context.Context, organizatio\n func (q *querier) GetAuthorizedOrganizationSkillMetadata(ctx context.Context, organizationID uuid.UUID, prepared rbac.PreparedAuthorized) ([]database.ListOrganizationSkillMetadataByOrganizationIDRow, error) {\n \treturn q.db.GetAuthorizedOrganizationSkillMetadata(ctx, organizationID, prepared)\n }\n+\n+// InvalidRolePermissionsError is REPRO-ONLY: lists every permission the caller cannot grant.\n+type InvalidRolePermissionsError struct {\n+\tPermissions []rbac.Permission\n+}\n+\n+func (e *InvalidRolePermissionsError) Error() string {\n+\treturn xerrors.Errorf(\"%d permission(s) cannot be granted\", len(e.Permissions)).Error()\n+}\ndiff --git a/enterprise/coderd/roles.go b/enterprise/coderd/roles.go\nindex d33b4dd489..7fa44ec336 100644\n--- a/enterprise/coderd/roles.go\n+++ b/enterprise/coderd/roles.go\n@@ -2,6 +2,7 @@ package coderd\n \n import (\n \t\"context\"\n+\t\"errors\"\n \t\"fmt\"\n \t\"net/http\"\n \t\"strings\"\n@@ -12,6 +13,7 @@ import (\n \t\"github.com/coder/coder/v2/coderd/audit\"\n \t\"github.com/coder/coder/v2/coderd/database\"\n \t\"github.com/coder/coder/v2/coderd/database/db2sdk\"\n+\t\"github.com/coder/coder/v2/coderd/database/dbauthz\"\n \t\"github.com/coder/coder/v2/coderd/httpapi\"\n \t\"github.com/coder/coder/v2/coderd/httpmw\"\n \t\"github.com/coder/coder/v2/coderd/rbac\"\n@@ -76,6 +78,21 @@ func (api *API) postOrgRoles(rw http.ResponseWriter, r *http.Request) {\n \t\treturn\n \t}\n \tif err != nil {\n+\t\tvar invalidPerms *dbauthz.InvalidRolePermissionsError\n+\t\tif errors.As(err, &invalidPerms) {\n+\t\t\tvalidations := make([]codersdk.ValidationError, 0, len(invalidPerms.Permissions))\n+\t\t\tfor _, p := range invalidPerms.Permissions {\n+\t\t\t\tvalidations = append(validations, codersdk.ValidationError{\n+\t\t\t\t\tField:  fmt.Sprintf(\"organization_permissions.%s:%s\", p.ResourceType, p.Action),\n+\t\t\t\t\tDetail: fmt.Sprintf(\"You can't grant %s:%s because you don't have that permission.\", p.ResourceType, p.Action),\n+\t\t\t\t})\n+\t\t\t}\n+\t\t\thttpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{\n+\t\t\t\tMessage:     \"This role includes permissions you can't grant.\",\n+\t\t\t\tValidations: validations,\n+\t\t\t})\n+\t\t\treturn\n+\t\t}\n \t\thttpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{\n \t\t\tMessage: \"Failed to update role permissions\",\n \t\t\tDetail:  err.Error(),\n@@ -167,6 +184,21 @@ func (api *API) putOrgRoles(rw http.ResponseWriter, r *http.Request) {\n \t\treturn\n \t}\n \tif err != nil {\n+\t\tvar invalidPerms *dbauthz.InvalidRolePermissionsError\n+\t\tif errors.As(err, &invalidPerms) {\n+\t\t\tvalidations := make([]codersdk.ValidationError, 0, len(invalidPerms.Permissions))\n+\t\t\tfor _, p := range invalidPerms.Permissions {\n+\t\t\t\tvalidations = append(validations, codersdk.ValidationError{\n+\t\t\t\t\tField:  fmt.Sprintf(\"organization_permissions.%s:%s\", p.ResourceType, p.Action),\n+\t\t\t\t\tDetail: fmt.Sprintf(\"You can't grant %s:%s because you don't have that permission.\", p.ResourceType, p.Action),\n+\t\t\t\t})\n+\t\t\t}\n+\t\t\thttpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{\n+\t\t\t\tMessage:     \"This role includes permissions you can't grant.\",\n+\t\t\t\tValidations: validations,\n+\t\t\t})\n+\t\t\treturn\n+\t\t}\n \t\thttpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{\n \t\t\tMessage: \"Failed to update role permissions\",\n \t\t\tDetail:  err.Error(),\n```\n\n\u003c/details>\n\nCreated on behalf of @angrycub\n","author":{"url":"https://github.com/apps/coder-superblink","@type":"Person","name":"coder-superblink"},"datePublished":"2026-11-16T19:39:07Z","url":"https://github.com/coder/coder/issues/32279"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:27db3b98-1e13-593a-21b3-eb68c596de70
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB17A:29C09E:981E49:D5DC5F:6B042D8A
html-safe-noncede8bb6a13b8177b44cc15f8f83c7d42490a0c91d2122b3f3b834b37b166f01d0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTdBOjI5QzA5RTo5ODFFNDk6RDVEQzVGOjZCMDQyRDhBIiwidmlzaXRvcl9pZCI6IjY4MjYyMTUwNjExOTYxMjM1MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac12c83d54fa8b45fb2614787fb28d4998f7804eede94bf7badac1e1d2fbddce8b
hovercard-subject-tagissue:6429204132
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/32279/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8115283f8dc906bcd24d12bb61e6dc3e85d6337c44d0abe0df3b480c05da19b4/coder/coder/issues/32279
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8115283f8dc906bcd24d12bb61e6dc3e85d6337c44d0abe0df3b480c05da19b4/coder/coder/issues/32279
og:image:altFollow-up to #32263. That issue is about the role editor offering permissions nobody can grant. This one covers what happens when the API rejects permissions: the API should report every invalid pe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecoder-superblink[bot]
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-preview
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/32279#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F32279
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F32279
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/32279
Reloadhttps://github.com/coder/coder/issues/32279
Reloadhttps://github.com/coder/coder/issues/32279
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues322 (322)https://github.com/coder/coder/issues
Pull requests472 (472)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/32279
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/32279
Custom roles: return every ungrantable permission as validations, and render them in the role editorhttps://github.com/coder/coder/issues/32279#top
https://github.com/apps/coder-superblink
coder-superblinkhttps://github.com/apps/coder-superblink
on Nov 16, 2026https://github.com/coder/coder/issues/32279#issue-6429204132
#32263https://github.com/coder/coder/issues/32263
customRoleCheckhttps://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/coderd/database/dbauthz/dbauthz.go#L1716-L1726
postOrgRoles/putOrgRoleshttps://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/enterprise/coderd/roles.go#L78-L84
#32263https://github.com/coder/coder/issues/32263
updatevalidator.gohttps://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/coderd/rbac/acl/updatevalidator.go#L33
workspaces.gohttps://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/coderd/workspaces.go#L2589
exp_chats_model_acl.gohttps://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/coderd/exp_chats_model_acl.go#L82
CreateEditRolePageView.tsx#L115https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/site/src/pages/OrganizationSettingsPage/CustomRolesPage/CreateEditRolePageView.tsx#L115
getFormHelpershttps://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/site/src/utils/formUtils.ts#L51-L62
getValidationErrorMessagehttps://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/site/src/api/errors.ts#L99-L105
mapApiErrorToFieldErrorshttps://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/site/src/api/errors.ts#L54-L65
CreateEditRolePage.tsx#L82https://github.com/coder/coder/blob/b4f8b6756c6a7ddddeab1664b51dea1237740a6e/site/src/pages/OrganizationSettingsPage/CustomRolesPage/CreateEditRolePage.tsx#L82
@angrycubhttps://github.com/angrycub
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Nov 16, 2026https://github.com/coder/coder/issues/32279#issuecomment-6927078747
Linear Codehttps://linear.app
ENG-3546https://linear.app/codercom/issue/ENG-3546
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/32279
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/32279
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.