Introduce emails_enabled? function for models
What does this MR do and why?
This MR takes the first step to replacing the emails_disabled
database field with emails_enabled
. This is done with the end goal of matching the design found in #24733 (closed), specifically the request to switch to a positive connotation which includes the database column changing: #24733 (comment 954977953). Per the suggestion of @acook.gitlab on another MR, the work will be split into several MRs.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.