Automattic / vip-support

Manages the VIP Support Users on your site
GNU General Public License v2.0
12 stars 4 forks source link

Allow current mentees to bypass is_a8c_email check for VIP Support User #70

Closed chris-budd closed 5 years ago

chris-budd commented 5 years ago

Possible solution to allow current Mentees to create vip_support users without an a8c email.

The three VIP_ZENDESK_* constants need to be committed separately.

An alternative could be either:

  1. To save the results of get_mentees() elsewhere to the platform and then just update the array daily (?) via cron to greatly reduce the reliance on the Zendesk API calls. I've set it to cache for a day atm.
  2. To have a static array that would need changing when onboarding/offboarding.
mjangda commented 5 years ago

Thanks for the PR @chris-budd. We definitely want to make sure that all support users have an Automattic email address so I don't think this is the best approach to take. Happy to chat on Slack if you want to discuss more or other alternatives.