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
fix(access-control): keep the settings page open while an organization is governed (#7890)
* fix(access-control): keep the settings page open while an organization is governed
Permission groups keep applying through a failing payment, but the page
that edits them was hidden with the rest of the Enterprise sections — so
an organization could be governed by rules nobody could see or loosen
until the invoice cleared. Access Control now follows the governance
reader rather than the plan gate, on the page, in the navigation, and at
the management API, which had already been left behind the plan gate to
match the page.
Also drops a stray "Open localhost" line from the README's self-hosted
quick start; the walkthrough below it already says where to look.
* fix(access-control): read the active permission regime, not the raw plan
- Resolve the navigation flag rather than reject it: the organization
surface is shared by every page, so a failed billing read would have
taken home, chat and search down with the settings sidebar
- Read the regime helper everywhere instead of the governance reader, so
a deployment with Access Control switched off manages nothing
- Give the workspace-scoped page the same treatment as the organization
one, which was still plan-gated
- Read one lookup per section rather than both, since Access Control's
availability never consults the plan
- Refresh the navigation flag from the billing summary alongside the plan
it sits next to, so the item cannot linger after billing changes
<ahref="https://sim.ai/api/desktop/update/download"target="_blank"rel="noopener noreferrer"><imgsrc="https://img.shields.io/badge/Download-macOS-3B3B3B?logo=apple&logoColor=white&labelColor=1A1A1A"alt="Download Sim for macOS"></a>
0 commit comments