René's URL Explorer Experiment


Title: Custom Role UI shows unassignable permissions · Issue #16456 · coder/coder · GitHub

Open Graph Title: Custom Role UI shows unassignable permissions · Issue #16456 · coder/coder

X Title: Custom Role UI shows unassignable permissions · Issue #16456 · coder/coder

Description: Is there an existing issue for this? I have searched the existing issues Current Behavior When adding permissions to a custom role in the Coder UI, there are 3 invalid permissions that display for workspace_dormant: application_connect, ...

Open Graph Description: Is there an existing issue for this? I have searched the existing issues Current Behavior When adding permissions to a custom role in the Coder UI, there are 3 invalid permissions that display for ...

X Description: Is there an existing issue for this? I have searched the existing issues Current Behavior When adding permissions to a custom role in the Coder UI, there are 3 invalid permissions that display for ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Custom Role UI shows unassignable permissions","articleBody":"### Is there an existing issue for this?\n\n- [x] I have searched the existing issues\n\n### Current Behavior\n\nWhen adding permissions to a custom role in the Coder UI, there are 3 invalid permissions that display for `workspace_dormant`: `application_connect`, `ssh`, & `start`. Selecting any of these permissions will cause the role to fail to build.  In 2.18.5 it is an opaque error. In a 2.19 build it printed the error, which helped make it clear which permissions caused the failure state.  These errors are also presented individually, causing me to have to perform iterative corrections to the permissions rather than a single correction pass.\n\n\u003cimg width=\"767\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/c2802dc4-275e-4e6e-82e9-0d393896b5eb\" />\n\n\u003cimg width=\"869\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/eaab7a13-34ac-44c3-81a2-c65cd001019b\" />\n\u003cimg width=\"852\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/52f42e7c-b62b-4c1b-89c9-10284acfe052\" />\n\u003cimg width=\"860\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/400ae5cc-28be-487d-b262-7db50d3f1cff\" />\n\n### Relevant Log Output\n\n```shell\nIn 2.18.5 the console shows the following error on the post to roles:\n\n{message: \"Failed to update role permissions\",…}\ndetail\n: \n\"org=\\\"e8a35c83-41ae-46e5-a140-236ac51989df\\\": invalid permission for action=\\\"application_connect\\\" type=\\\"workspace_dormant\\\", not allowed to grant this permission\"\nmessage\n: \n\"Failed to update role permissions\"\n```\n\n### Expected Behavior\n\nI would expect invalid permissions to not be presented as an option in the UI.\n\n### Steps to Reproduce\n\n1. Create a custom role on a Premium-licensed Coder instance.\n2. Click **Show advanced permissions**.\n3. For my test, I selected all of the top level permissions; however, it is sufficient to select all of the `workspace_dormant` permissions.\n4. Click **Create Role**\n5.  Receive error.\n\n### Environment\n\n- Host OS:\n- Coder version:\n\n\n### Additional Context\n\n_No response_","author":{"url":"https://github.com/angrycub","@type":"Person","name":"angrycub"},"datePublished":"2025-02-05T17:43:12Z","url":"https://github.com/coder/coder/issues/16456"}

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:2045e5fd-0eae-2567-508b-6cfc63faa9fd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB960:35E323:D12CCB:125A541:6B043F77
html-safe-nonce8e6ca2a277e91976d203ff0eef9a6028f922d512e4eeecfd71808b93bb5417b4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTYwOjM1RTMyMzpEMTJDQ0I6MTI1QTU0MTo2QjA0M0Y3NyIsInZpc2l0b3JfaWQiOiIxMjE2NTU4MzEwMjUwMjY2NDg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6e5dc6e03ac90c1ef5acbf1914c402693441ff944cce49fa37971e24906082f8
hovercard-subject-tagissue:2833576375
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/16456/issue_layout
twitter:imagehttps://opengraph.githubassets.com/79def71fb5d4fdd9d95fbef0472546e095e8d053a997a4bee50531e6ecadf27b/coder/coder/issues/16456
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/79def71fb5d4fdd9d95fbef0472546e095e8d053a997a4bee50531e6ecadf27b/coder/coder/issues/16456
og:image:altIs there an existing issue for this? I have searched the existing issues Current Behavior When adding permissions to a custom role in the Coder UI, there are 3 invalid permissions that display for ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameangrycub
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
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
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/16456#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F16456
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%2F16456
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/16456
Reloadhttps://github.com/coder/coder/issues/16456
Reloadhttps://github.com/coder/coder/issues/16456
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues322 (322)https://github.com/coder/coder/issues
Pull requests473 (473)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/16456
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/16456
Bughttps://github.com/coder/coder/issues?q=type:"Bug"
Custom Role UI shows unassignable permissionshttps://github.com/coder/coder/issues/16456#top
s2Broken use cases or features (with a workaround). Only humans may set this.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22s2%22
https://github.com/angrycub
angrycubhttps://github.com/angrycub
on Feb 5, 2025https://github.com/coder/coder/issues/16456#issue-2833576375
https://private-user-images.githubusercontent.com/464492/410106173-c2802dc4-275e-4e6e-82e9-0d393896b5eb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJ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pgXFm-3XZNOGZBUN-Y
https://private-user-images.githubusercontent.com/464492/410107081-400ae5cc-28be-487d-b262-7db50d3f1cff.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0NDA4MDMsIm5iZiI6MTc5NTQ0MDUwMywicGF0aCI6Ii80NjQ0OTIvNDEwMTA3MDgxLTQwMGFlNWNjLTI4YmUtNDg3ZC1iMjYyLTdkYjUwZDNmMWNmZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyM1QxMzI4MjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02Nzk1M2NlZjQzMzY1MDI4YzYyODgwMmVjNzcyMmQ3YmQ1NzBjZTE5NDBkMzlkZTUxOWYzMTUzZWI2MmJhMDJmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.b8Fb1JHayiqz5GLYI-PdrNxmQy4mgGfjMw292fvCtXo
angrycubhttps://github.com/angrycub
needs-triageIssue that require triagehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs-triage%22
on Feb 5, 2025https://github.com/coder/coder/issues/16456#event-16198497096
matifalihttps://github.com/matifali
needs-triageIssue that require triagehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs-triage%22
on Feb 6, 2025https://github.com/coder/coder/issues/16456#event-16206734581
https://github.com/matifali
matifalihttps://github.com/matifali
on Feb 6, 2025https://github.com/coder/coder/issues/16456#issuecomment-2639236212
@stirbyhttps://github.com/stirby
@Kira-Pilothttps://github.com/Kira-Pilot
matifalihttps://github.com/matifali
s2Broken use cases or features (with a workaround). Only humans may set this.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22s2%22
on Feb 6, 2025https://github.com/coder/coder/issues/16456#event-16206755936
https://github.com/zenithwolf1000
zenithwolf1000https://github.com/zenithwolf1000
on Nov 16, 2026https://github.com/coder/coder/issues/16456#issuecomment-6909585489
Linear Codehttps://linear.app
zenithwolf1000https://github.com/zenithwolf1000
not plannedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Nov 16, 2026https://github.com/coder/coder/issues/16456#event-36246691070
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/16456
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/16456
s2Broken use cases or features (with a workaround). Only humans may set this.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22s2%22
Bughttps://github.com/coder/coder/issues?q=type:"Bug"
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.