Handle reset_seat_statistics for ultimate-trial-paid-customer plan
What does this MR do and why?
Solve issue Handle reset_seat_statistics for ultimate-trial... (#432526 - closed)
GitlabSubscription before_update callback reset_seat_statistics
needs
to handle ultimate-trial-paid-customer plan differently.
During the ultimate-trial-paid-customer period, we want to continue the premium plan's seat statistics and QSR, as if the namespace is still under the premium plan.
Thus we should not reset_seat_statistics when starts(and expires) ultimate-trial-paid-customer plan. There are several scenarios:
- premium=>ultimate-trial-paid-customer, do not reset_seat_statistics
- ultimate-trial-paid-customer=>premium(not renewed), do not reset_seat_statistics,
- ultimate-trial-paid-customer=>premium(renewed), reset_seat_statistics
- ultimate-trial-paid-customer=>ultimate, reset_seat_statistics
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.