Repository navigation
🐛(entitlements) identify mailboxes in DeployCenter usage metrics - #868
Conversation
DeployCenter ties a usage metric to an account only when the entry carries an id: without one, it stores the mailbox usage against no account, so its entitlements response answers metrics.account as null, which Messages reads as an empty mailbox. In an organization with a per-mailbox quota, the storage gauge then showed "0 / 15 GB" whatever the mailbox held; elsewhere it gauges the organization, whose usage is tied through its siret, which hid the problem. The mailbox entries pushed with the entitlements request and served by the usage metrics endpoint now carry the mailbox id, a stable identifier.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Purpose
DeployCenter ties a usage metric to an account only when the entry carries an id: without one, it stores the mailbox usage against no account, so its entitlements response answers metrics.account as null, which Messages reads as an empty mailbox. In an organization with a per-mailbox quota, the storage gauge then showed "0 / 15 GB" whatever the mailbox held; elsewhere it gauges the organization, whose usage is tied through its siret, which hid the problem.
The mailbox entries pushed with the entitlements request and served by the usage metrics endpoint now carry the mailbox id, a stable identifier.
Summary by CodeRabbit