Trainee Delegates on Staff Mailing List
Describe the bug Trainee Delegates currently receive communications sent to the WCA Staff Mailing list
Expected behavior As Trainee Delegates are not staff they should not receive these. They should only be receiving reports
staff@ is a "meta-list" that we do not directly sync members to. Instead, it forwards to several lists like software@, results@, board@, etc.. that we actually do sync members to.
In this instance, the error occurs because we sync Trainee Delegates to [email protected] which in turn is part of staff@.
Are Trainees supposed to be part of delegates@? If yes, this is a flaw in the way we conceptually designed the staff@ setup and not an actual website bug :innocent:
Kindly ping @Epride
Following up this issue; has the discussion gone any further?
Should delegates@wca perhaps be split into delegates@wca for all Junior and above, and trainees@wca for trainees only? Then delegate reports can be sent to both groups, and only delegates@wca is part of staff@wca.
To my mind that seems like a pretty simple way of implementing this - but my Google Admin knowledge is limited.
Apologies for my silence here but the suggestion by @dunkOnIT seems like a fairly reasonable way forward
Techincal note to people who wish to implement this: You need to touch WcaOnRails/app/jobs/sync_mailing_lists_job.rb where currently it syncs User.delegates to the delegates@ list. Create an additional staff_delegates scope that includes only Delegates (DB column delegate_status NOT NULL) that are not trainee_delegate in the DB (how to do this is left as an exercise).
Then add a second line to the sync job referring to trainees@wca to sync the existing User.trainee_delegates scope to. I have created an empty mailing list that can automatically be found and used by our Ruby code without any additional setup.
Fixed in #7395