-
由 Qingyu Zhao 创作于
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 Changelog: changed MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/137243 EE: true
由 Qingyu Zhao 创作于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 Changelog: changed MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/137243 EE: true
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。