Page and search the org directory, and stop two row builders drifting

FeatureSecurityService
Ya
2 Septemba 2026, 01:09 UTC
Mwandishi
Kamo
Ahadi ya
c704178

The networks endpoints answer with the whole set in one body. That is fine for a member of a dozen orgs and impossible for an operator on an estate meant to reach to show twenty. Adds GET /org/network-directory, which matches, orders and windows in the database and returns one page. scope=all is gated on exactly the check all-networks applies — SYSTEM_USER through PlatformRightsService — so all three routes to the right keep working and the list can never be wider than the action behind it. The same answer rides back as canEnterAsSystemMember, so a client builds its rows and its buttons from one reply. my-networks and all-networks had a hand-written row builder each, and the copies had already drifted: all-networks never emitted primaryColor, logoUrl or logoSimpleUrl, so /network drew every org an operator was not a member of in the console default accent rather than the org's own. Nothing reported it — the keys were simply absent and the client's fallback did the rest. All three now share OrgNetworkRowBuilder.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei