-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For moderator accounts, add ability to turn off email at /settings #6282
Comments
This comment has been minimized.
This comment has been minimized.
Copying in line numbers and info from previous issue at #4543 ! Also noting link to VERY similar/related issue at #6867, especially with regard to UI changes that'd need to happen.
The moderators to be notified are collected up in these sections here: plots2/app/mailers/admin_mailer.rb Lines 8 to 19 in 3267de0
We could add lines like: all_moderators = User.where(role: %w(moderator admin)).collect(&:email)
moderators = []
all_moderators.each do |mod_user|
moderators << mod_user unless .has_tag('no-moderation-emails')
end This would be a great FTO! Follow-ups would be:
This has been marked as a good candidate for becoming a first-timers-only issue like these, meaning that it's simple, self-contained, and with some extra formatting, could be a great entry point for a new contributor. If you're familiar enough with this code, please consider reformatting or reposting it as a first-timers-only issue, and then ping @publiclab/reviewers to get it labelled. Or, if this is not your first time, try to solve it yourself! |
I'd be happy to work on this as part of GCI. I will open a PR addressing this soon. |
That would be super!!!!
…On Thu, Jan 9, 2020 at 6:57 PM anthony-zhou ***@***.***> wrote:
I'd be happy to work on this as part of GCI. I will open a PR addressing
this soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6282?email_source=notifications&email_token=AAAF6JZYNEW5TM6OULH3UZ3Q462WZA5CNFSM4IWJSI4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEISGQWI#issuecomment-572811353>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6J46HY4OIF65EEV2B7DQ462WZANCNFSM4IWJSI4A>
.
|
Published on GCI |
Completed by @anthony-zhou ! Thank you!!! |
Please describe the desired behavior.
This feature request is part of improving the moderators workflow, and was written with @jywarren and @bronwen9.
This feature request is to add the ability to turn of moderator emails per user at /settings.
This feature should only be shown to /moderators and /admins.
Additional context (optional)
Thanks!
The text was updated successfully, but these errors were encountered: