Title: RBAC: Introduce composable API key scopes and expansion · Issue #19848 · coder/coder · GitHub
Open Graph Title: RBAC: Introduce composable API key scopes and expansion · Issue #19848 · coder/coder
X Title: RBAC: Introduce composable API key scopes and expansion · Issue #19848 · coder/coder
Description: Description After low-level scopes exist, implement a composable scope container that satisfies rbac.ExpandableScope, e.g., type ComposableScope []ScopeName, whose Expand() merges site-level permissions of each named scope into a single ...
Open Graph Description: Description After low-level scopes exist, implement a composable scope container that satisfies rbac.ExpandableScope, e.g., type ComposableScope []ScopeName, whose Expand() merges site-level permis...
X Description: Description After low-level scopes exist, implement a composable scope container that satisfies rbac.ExpandableScope, e.g., type ComposableScope []ScopeName, whose Expand() merges site-level permis...
Opengraph URL: https://github.com/coder/coder/issues/19848
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RBAC: Introduce composable API key scopes and expansion","articleBody":"Description\n\n- After low-level scopes exist, implement a composable scope container that satisfies `rbac.ExpandableScope`, e.g., `type ComposableScope []ScopeName`, whose `Expand()` merges site-level permissions of each named scope into a single `rbac.Scope`.\n- Ensure expansions are site-level only; remove any org-level blocks from built-ins.\n\nKey files/areas\n\n- `coderd/rbac/scopes.go` (define `ComposableScope` and related helpers).\n- `coderd/rbac/` tests for expansion correctness.\n\nAcceptance criteria\n\n- Unit tests verify that combining `workspace:read` + `workspace:ssh` yields a scope allowing both actions at the Site level only.\n- No negative/deny semantics implemented; expansions are strictly additive.","author":{"url":"https://github.com/ThomasK33","@type":"Person","name":"ThomasK33"},"datePublished":"2025-09-17T14:03:46Z","url":"https://github.com/coder/coder/issues/19848"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ea213015-4e4e-9ef9-dc8f-60b40063e566 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B4EE:7A60E:1FF9D6F:28F85A6:6B016410 |
| html-safe-nonce | 1c84eab0d2504f04cf0413cde5662aef2164e6b641cf650fb4ef6477118b789f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEVFOjdBNjBFOjFGRjlENkY6MjhGODVBNjo2QjAxNjQxMCIsInZpc2l0b3JfaWQiOiI5NTM2NTcxNzMwMTQwNDU3MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 84f1ec877ac2964197a4d7c1448e39a0620103c625f0b8a851d41f56e578beb0 |
| hovercard-subject-tag | issue:3426459576 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/19848/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ad262ed4d546c814f6bf3d687ba410fba9f4ce24f210cc3a1c410b509fc3885/coder/coder/issues/19848 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ad262ed4d546c814f6bf3d687ba410fba9f4ce24f210cc3a1c410b509fc3885/coder/coder/issues/19848 |
| og:image:alt | Description After low-level scopes exist, implement a composable scope container that satisfies rbac.ExpandableScope, e.g., type ComposableScope []ScopeName, whose Expand() merges site-level permis... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ThomasK33 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width