Heal prefers the per-license label; account org only as fallback #19

Merged
Cordy merged 3 commits from fix/org-label into main 2026-07-31 11:01:03 +00:00
Owner

Nikola's correction to #17's heal: an outsourced admin may hold licenses for several end-customer organizations under one account, so healing a ctm_ org to the account's org name would stamp the wrong company onto a client's license. The per-license label — already the customer's per-license identity — now wins the heal; the account org name applies only to unlabelled licenses, and custom (non-ctm_) orgs are never touched. All three paths test-pinned.

Nikola's correction to #17's heal: an outsourced admin may hold licenses for several end-customer organizations under one account, so healing a `ctm_` org to the *account's* org name would stamp the wrong company onto a client's license. The per-license **label** — already the customer's per-license identity — now wins the heal; the account org name applies only to unlabelled licenses, and custom (non-`ctm_`) orgs are never touched. All three paths test-pinned.
Cordy merged commit 1709092c1b into main 2026-07-31 11:01:03 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/cairn-license-server#19
No description provided.