[discourse-mozillians] Add Mozilla staff to a group

(Leo McArdle) #1

Upon logging in, the plugin should check if the user’s email address matches the following, or if any additional email addresses registered with the user on Mozillians match the following:

  • *@mozilla.com
  • *@mozillafoundation.org
  • *@mozilla-japan.org

If an email address does, they should be added to the mozillians_staff group. If none do, but the user currently is in the mozillians_staff group, they should be removed.

(Leo McArdle) #2

(Leo McArdle) #3