mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-24 12:42:49 +00:00
951424d4ff
A provider-hosted control plane refused to start once its licence was past expiry and the 7-day grace, because startup validated it with ValidateLicense. So at the next restart after a 60-day evaluation ran out, or after a paying provider's subscription lapsed, the portal went down, and the portal's Plan tab is the only place a provider can buy or renew. Reproduced on the walkthrough lab. Startup now accepts an authentic, key-bound licence even when lapsed (ValidateLicenseAllowingLapse), preferring a current licence and otherwise the one that expired later, and logs the lapse. It unlocks nothing: client runtimes still verify the provider licence in every lease with ValidateLicense and drop MSP capabilities, new clients are refused with provider_msp_license_lapsed, and the refresher still refuses a lapsed licence. The Plan panel says the evaluation or plan ended and offers the plans, and provider-msp status reports license_lapsed without failing so a lapsed install can still upgrade. The same run showed the portal printing control plane error codes such as provider_msp_license_lapsed instead of their message. The portal now prefers an error's message over its code, which also fixes already_subscribed and checkout_unavailable in the Plan tab.