Disable all notification emails
Description
We'd like to be able to disable all notification emails globally for a gitlab CE install.
Proposal
Links / references
Documentation blurb
Overview
What is it?
An admin flag to disable email notification for the entire installation.
Why should someone use this feature?
To set up global installation security. Similar to requiring 2FA for all accounts.
What is the underlying (business) problem?
We don't want any code or data going out over email.
How do you use this feature?
Use cases
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
- Feature assurance
- Documentation
- Added to features.yml
Designs
- Show closed items
Relates to
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Contributor
@icco Thanks for the proposal.
It's definitely a feature that would be awesome.
It would also be useful to be able to disable all outgoing emails when debugging or experimenting with something in GitLab. Obviously this should be an admin-only function.
3Definitely would be helpful to have.
- Contributor
@vadacom.benjamin-rood Outgoing emails from GitLab can be disabled completely:
This issue refers to only notification email disablement, excluding account specific emails like confirmation and password resets etc. Currently, it's all or nothing.
4 This would be very useful, though I would want two variations also available:
- Disable notifications per-group
- Mask the content -- eg, send the email, but only say something like "An issue was filed at URL"
I pushed gitlab-ce!19686, it works locally in my development environment. It does what I need -- namely, the ability to disable notifications per-group or per-project. After some contemplating, I decided against masking the email content as that didn't really fit into my requirements.
Thinking about it, it would probably be fairly easy to extend my MR to work globally too. However, I've already spent more time on this than I was hoping to spend.
FWIW, we've been using gitlab-ce!19686 on two gitlab 10.x installations since the beginning of July, and it has worked out great for us. Just need someone to review the MR and provide guidance for writing tests, then hopefully it can be introduced into mainline Gitlab.
- Contributor
@victorwu What do you think about this one? A Merge Request has been prepared
@smcgivern @jeremy_ : What do you think about this feature?
- Contributor
What do you think about this feature?
Comment moved to https://gitlab.com/gitlab-org/gitlab-ce/issues/50020
Edited by Jeremy Watson (ex-GitLab) 2 - Contributor
Whoops, I thought I was posting this in the MR that's currently out (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19686) that does what I described.
Let's not get off from the original request: disable email except account related ones (password reset, account verification, etc.). I think that satisfies @jeremy_'s UX requirements (clear radio silence). Current email flag disables password reset, etc., so isn't a solution.
I agree. My comments were directed at that MR, which opts for selective disabling of notifications on a project/group basis. In my view, we shouldn't do this.
Edited by Jeremy Watson (ex-GitLab) 1 Sorry for the confusion @jeremy_ . I created a separate issue that matches the MR. Can you please paste your comment on that new issue?
It is here; https://gitlab.com/gitlab-org/gitlab-ce/issues/50020
Edited by Victor Wu- Contributor
Thanks a million for the new issue. My fault for not noticing this issue and the MR were a bit different to one another
Any update for this?
- 🤖 GitLab Bot 🤖 added devopsplan label
added devopsplan label
- 🤖 GitLab Bot 🤖 added [deprecated] Accepting merge requests label
added [deprecated] Accepting merge requests label
- 🤖 GitLab Bot 🤖 added groupproject management label
added groupproject management label
- 🤖 GitLab Bot 🤖 removed [deprecated] Accepting merge requests label
removed [deprecated] Accepting merge requests label
- 🤖 GitLab Bot 🤖 added auto updated potential proposal labels
added auto updated potential proposal labels
- Developer
Large Premium customer is interested in this feature. https://gitlab.zendesk.com/agent/tickets/143908 (GitLab internal only)
- 🤖 GitLab Bot 🤖 added customer label
added customer label
- Julius Kvedaras added customer+ label
added customer+ label
- 🤖 GitLab Bot 🤖 mentioned in issue #197801 (closed)
mentioned in issue #197801 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #198984 (closed)
mentioned in issue #198984 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #201640 (closed)
mentioned in issue #201640 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #212102 (closed)
mentioned in issue #212102 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #212794 (closed)
mentioned in issue #212794 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #212807 (closed)
mentioned in issue #212807 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #213483 (closed)
mentioned in issue #213483 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #214175 (closed)
mentioned in issue #214175 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #214945 (closed)
mentioned in issue #214945 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #215811 (closed)
mentioned in issue #215811 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #216406 (closed)
mentioned in issue #216406 (closed)
- Contributor
A large enterprise customer (Premium) is interested in this feature https://gitlab.my.salesforce.com/0016100000gooIO
would be highly beneficial to us in our HA GitLab environment, particularly when setting up a new environment, such as restoring a backup, or setting up Geo. We can get around this by disabled SMTP in the omnibus config across all of our application nodes, but it would be more convenient to be able to control this via the UI or an API call.
1 - 🤖 GitLab Bot 🤖 mentioned in issue #217265 (closed)
mentioned in issue #217265 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #218184 (closed)
mentioned in issue #218184 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #218926 (closed)
mentioned in issue #218926 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #226940 (closed)
mentioned in issue #226940 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #230638 (closed)
mentioned in issue #230638 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #232360 (closed)
mentioned in issue #232360 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #233315 (closed)
mentioned in issue #233315 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #235070 (closed)
mentioned in issue #235070 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #237808 (closed)
mentioned in issue #237808 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #240839 (closed)
mentioned in issue #240839 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #243452 (closed)
mentioned in issue #243452 (closed)
- 🤖 GitLab Bot 🤖 added sectiondev label
added sectiondev label
- 🤖 GitLab Bot 🤖 mentioned in issue #246443 (closed)
mentioned in issue #246443 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #249045 (closed)
mentioned in issue #249045 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #254146 (closed)
mentioned in issue #254146 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #257772 (closed)
mentioned in issue #257772 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue #261979 (closed)
mentioned in issue #261979 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#473 (closed)
mentioned in issue gitlab-org/quality/triage-reports#473 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#533 (closed)
mentioned in issue gitlab-org/quality/triage-reports#533 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#609 (closed)
mentioned in issue gitlab-org/quality/triage-reports#609 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#674 (closed)
mentioned in issue gitlab-org/quality/triage-reports#674 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#707 (closed)
mentioned in issue gitlab-org/quality/triage-reports#707 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#797 (closed)
mentioned in issue gitlab-org/quality/triage-reports#797 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#874 (closed)
mentioned in issue gitlab-org/quality/triage-reports#874 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#949 (closed)
mentioned in issue gitlab-org/quality/triage-reports#949 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1050 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1050 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1104 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1104 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1193 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1193 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1277 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1277 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1372 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1372 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1437 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1437 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1515 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1515 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1601 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1601 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1690 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1690 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1793 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1793 (closed)
- 🤖 GitLab Bot 🤖 mentioned in issue gitlab-org/quality/triage-reports#1886 (closed)
mentioned in issue gitlab-org/quality/triage-reports#1886 (closed)
- Carlos Bazan changed milestone to %Backlog
changed milestone to %Backlog
- 🤖 GitLab Bot 🤖 added [deprecated] Accepting merge requests label
added [deprecated] Accepting merge requests label
- Coung Ngo removed Plan [DEPRECATED] label
removed Plan [DEPRECATED] label
- Andrew Newdigate marked this issue as related to #370454 (closed)
marked this issue as related to #370454 (closed)