mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-02 18:19:07 +01:00
A hosted runtime serves one customer workspace, but its organization list also offered the runtime's default organization. On a provider client that is a leftover of the shared runtime that nobody set up, so the header showed an organization dropdown whose only other choice was an empty workspace. GET /api/orgs now leaves the default organization out for a user who lands in the PULSE_TENANT_ID workspace, as long as default holds nothing: no configured Proxmox, PBS, PMG, VMware or TrueNAS connection, no availability target and no resource in its unified store. Anything added there keeps it listed, so data reached through the earlier revisit bug is never stranded, and the check keeps it listed whenever it cannot tell. The organization itself is unchanged and an explicit selection still reaches it. Self-hosted runtimes and users outside the workspace get the same list as before.