Skip to content

Block free trial user

毛超请求将block-free-trial-user合并到main-jh

related #3702 , depends on !2120 (merged)

this MR add block free trial user worker:

  • receive user_ids array and keep data last date
  • use user.block instead of batch update because there are some callbacks after block(user.rb:501)
  • send free_trial_ends_notification email to user
  • batch insert user custom attribute, key is blocked_by_free_trial_ends, use this key to figure out this user is blocked by trial end, will disable special message when user login

合并请求报告

加载中