/network create affordance is gated by member-type + right

Featurekamo-internal
Shipped
April 19, 2026 at 10:48 PM UTC
Author
kamo
Commit
a4c4e43

- BranchSetupManager: new "Who Can Create Child Orgs Under This Model" card with three toggles (Members / Team Members / Owners). Values round-trip through mapBackendModel and both save flows (child model + master model). Empty state defaults all three to false — a model doesn't offer creation to anyone until the admin opts them in. - /network page: fetches **************** on mount and hides every "Create New Organization" affordance (header button, empty-state button, bottom card) unless the server definitively returns canCreateChildOrg=true. While the check is in flight (null) the affordance stays hidden so we never flash it to a member who shouldn't see it. - New **************** proxy route forwards through to SecurityService's new endpoint.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing