After the new policies are activated in T408316, we need to send the email notification regarding the policy update to all platform users.
This should be sent between 0 and 2 days *after* the both the new polices (hosting policy, terms of use) become active on staging.
This can not actually be done on production until T408316: 📜 P1: Activate the new policies is complete. Therefore this may sit stalled in "waiting for action in production".
We note the content of this email is not reusable in the future.
The copy is here.
dev notes
- Existing Notification object for users with empty Wikis
- Job to send these notifications
Command to triger the job:
kubectl exec -ti deployments/api-app-backend -- php artisan job:dispatchNow App\\Jobs\\SendPolicyAnnouncementJob
or if you want to tinker:
kubectl exec -ti deployments/api-app-backend -- php artisan tinker --execute='dispatch(new App\Jobs\SendPolicyAnnouncementJob)'