You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RBAC: Introduce composable API key scopes and expansion #19848
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.
Ensure expansions are site-level only; remove any org-level blocks from built-ins.
Key files/areas
coderd/rbac/scopes.go (define ComposableScope and related helpers).
coderd/rbac/ tests for expansion correctness.
Acceptance criteria
Unit tests verify that combining workspace:read + workspace:ssh yields a scope allowing both actions at the Site level only.
No negative/deny semantics implemented; expansions are strictly additive.
Activity