Title: Gateway Accounts via additive reduced `member` role and `workspace-access` additive role · Issue #25936 · coder/coder · GitHub
Open Graph Title: Gateway Accounts via additive reduced `member` role and `workspace-access` additive role · Issue #25936 · coder/coder
X Title: Gateway Accounts via additive reduced `member` role and `workspace-access` additive role · Issue #25936 · coder/coder
Description: Problem organization-member bundles workspace ops (lifecycle, template apply, provisioner jobs, file upload, tasks, runtime support) with the membership signal itself. A lightweight user (authenticates + uses AI Gateway, no workspace ops...
Open Graph Description: Problem organization-member bundles workspace ops (lifecycle, template apply, provisioner jobs, file upload, tasks, runtime support) with the membership signal itself. A lightweight user (authentic...
X Description: Problem organization-member bundles workspace ops (lifecycle, template apply, provisioner jobs, file upload, tasks, runtime support) with the membership signal itself. A lightweight user (authentic...
Opengraph URL: https://github.com/coder/coder/issues/25936
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Gateway Accounts via additive reduced `member` role and `workspace-access` additive role","articleBody":"## Problem\n\n- `organization-member` bundles workspace ops (lifecycle, template apply, provisioner jobs, file upload, tasks, runtime support) with the membership signal itself.\n- A lightweight user (authenticates + uses AI Gateway, no workspace ops) can only be modeled by stripping capabilities off a default account.\n- That forces every seat count, UI gate, and future role to branch on user type.\n- `allPermsExcept(...)` auto-grants new resources to org members. Latent footgun.\n\n## Solution\n\n- Hoist the implicit elevation into a new role `organization-workspace-access`.\n- Shrink `organization-member` to a true membership floor.\n- Default user = `member` + `organization-member` + `organization-workspace-access`. Behavior unchanged.\n- **Lite Account** = same user, elevation role omitted. `AuthorizeContext(ActionCreate, ResourceWorkspace)` fails naturally; no special-case branches.\n- Future tiers (read-only AI viewer, agents-only) compose from the same primitives.\n- Floor shrink gated by a startup-read experiment so the additive code lands in trunk before behavior changes in production.\n\nRFC: [PLAT-217](https://linear.app/codercom/issue/PLAT-217/rfc-for-gateway-accounts).\n\n---\n\n\u003csub>Filed by Coder Agents on behalf of @Emyrk.\u003c/sub>","author":{"url":"https://github.com/Emyrk","@type":"Person","name":"Emyrk"},"datePublished":"2026-06-01T18:45:44Z","url":"https://github.com/coder/coder/issues/25936"}
| 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:e7fea3df-24b0-180c-9107-75700e8c0076 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8EE4:DA744:1CD541B:26BFB9B:6B01740A |
| html-safe-nonce | 6efc4ac8cd1891a0fbcccb4c099d5a86fc2427ab889ddc0282eeadfa34ec96e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUU0OkRBNzQ0OjFDRDU0MUI6MjZCRkI5Qjo2QjAxNzQwQSIsInZpc2l0b3JfaWQiOiI2NTc5NjcyNTk5NjkxODgzNTMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 22e28cfc3c1c0414ddff12c08f721454ecd8d7aea76639b5d80a660e8b7a0c2c |
| hovercard-subject-tag | issue:4565521907 |
| 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/25936/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f42e2d2905b9ac50e35b76a5f0e91639d72b87764ce127d64ddbcce1e9224b99/coder/coder/issues/25936 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f42e2d2905b9ac50e35b76a5f0e91639d72b87764ce127d64ddbcce1e9224b99/coder/coder/issues/25936 |
| og:image:alt | Problem organization-member bundles workspace ops (lifecycle, template apply, provisioner jobs, file upload, tasks, runtime support) with the membership signal itself. A lightweight user (authentic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Emyrk |
| 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