Title: RBAC: should organization-member retain workspace-sharing Read perms under minimum-implicit-member? · Issue #26100 · coder/coder · GitHub
Open Graph Title: RBAC: should organization-member retain workspace-sharing Read perms under minimum-implicit-member? · Issue #26100 · coder/coder
X Title: RBAC: should organization-member retain workspace-sharing Read perms under minimum-implicit-member? · Issue #26100 · coder/coder
Description: Question In coderd/rbac/roles.go, OrgMemberPermissions() conditionally grants org-wide Read on OrganizationMember and Group to every organization member so they can participate in workspace sharing: if org.ShareableWorkspaceOwners != Sha...
Open Graph Description: Question In coderd/rbac/roles.go, OrgMemberPermissions() conditionally grants org-wide Read on OrganizationMember and Group to every organization member so they can participate in workspace sharing...
X Description: Question In coderd/rbac/roles.go, OrgMemberPermissions() conditionally grants org-wide Read on OrganizationMember and Group to every organization member so they can participate in workspace sharing...
Opengraph URL: https://github.com/coder/coder/issues/26100
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RBAC: should organization-member retain workspace-sharing Read perms under minimum-implicit-member?","articleBody":"### Question\n\nIn `coderd/rbac/roles.go`, `OrgMemberPermissions()` conditionally grants org-wide Read on `OrganizationMember` and `Group` to **every** organization member so they can participate in workspace sharing:\n\n```go\nif org.ShareableWorkspaceOwners != ShareableWorkspaceOwnersNone {\n orgPermMap[ResourceOrganizationMember.Type] = []policy.Action{policy.ActionRead}\n}\nif org.ShareableWorkspaceOwners == ShareableWorkspaceOwnersEveryone {\n orgPermMap[ResourceGroup.Type] = []policy.Action{policy.ActionRead}\n}\n```\n\n[#25929](https://github.com/coder/coder/pull/25929) splits the workspace-ops elevation off `organization-member` and onto a new `organization-workspace-access` role. When the `minimum-implicit-member` experiment is on, only users with `organization-workspace-access` get the elevation; everyone else gets the floor.\n\nOpen question raised in the [#25929 review](https://github.com/coder/coder/pull/25929#discussion_r3361159031): with `minimum-implicit-member` on, should the two Reads above (org-member listing, group listing for sharing) stay on `organization-member`, or do they belong on the workspace-elevation role like the rest of the workspace-ops perms?\n\n### Why it matters\n\nIf they stay on `organization-member`:\n\n- Gateway-account users without `organization-workspace-access` can still list every other org member and (in `everyone` sharing mode) every group. That may be more visibility than a service account should have.\n\nIf they move to the elevation role:\n\n- Gateway-account users without the elevation cannot enumerate sharers, which lines up with \"no workspace ops\" but breaks the symmetry with the floor's \"members know members\" assumption for non-sharing contexts.\n\n### Scope\n\nThis was deferred from #25929 to avoid expanding scope. Filing here so we don't lose it.\n\n### Acceptance\n\nDecide the policy and update `OrgMemberPermissions` / `OrgServiceAccountPermissions` accordingly, with a test under `TestMinimumImplicitMember`.\n\n---\n\n\u003csub>Coder Agents on behalf of @Emyrk.\u003c/sub>\n","author":{"url":"https://github.com/Emyrk","@type":"Person","name":"Emyrk"},"datePublished":"2026-06-05T14:18:52Z","url":"https://github.com/coder/coder/issues/26100"}
| 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:89bacbe8-8901-2341-e16d-64bd92fc10b6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C46C:12AAAF:5516DD:6F5F67:6B017A41 |
| html-safe-nonce | d354eaa71e671a297d020cd253b8a42cf13b1fbf22f624ba2920eeaa14544ef5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDZDOjEyQUFBRjo1NTE2REQ6NkY1RjY3OjZCMDE3QTQxIiwidmlzaXRvcl9pZCI6IjQxMDY3NDc4MzM1ODYxMjEyODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6d75835a25adad6a51df6b22b4281f4dbeaa34213e87f7955186668ed6a43bfb |
| hovercard-subject-tag | issue:4597617291 |
| 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/26100/issue_layout |
| twitter:image | https://opengraph.githubassets.com/16cda178571f0ab379adfb24aace4a91e0ace500ef6ef5c10b3f89ec6120baa1/coder/coder/issues/26100 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/16cda178571f0ab379adfb24aace4a91e0ace500ef6ef5c10b3f89ec6120baa1/coder/coder/issues/26100 |
| og:image:alt | Question In coderd/rbac/roles.go, OrgMemberPermissions() conditionally grants org-wide Read on OrganizationMember and Group to every organization member so they can participate in workspace sharing... |
| 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