Break out member access denied email to separate mailer
What does this MR do and why?
Break out member access denied email to separate mailer
- ongoing project to breakup the massive notify/notification service.
- behavior change: hiding project/group name if it is private - see !166220 (comment 2131220888)
- see #466562 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
no change
source visibility level/format | before | after |
---|---|---|
public html | no change | |
public text | no change | |
private html | no change | |
private text |
How to set up and validate locally
- restart gdk after switching to this branch(mailer preview won't refresh w/o that).
- Create a public group.
- In rails console, create an access request member
group = Group.last
require 'factory_bot'
FactorBot.create(:group_member, :access_request, source: group)
- Create a private group.
- In rails console, create an access request member
group = Group.last
require 'factory_bot'
FactorBot.create(:group_member, :access_request, source: group)
- use rails preview at this route:
http://gdk.test:3000/rails/mailers/members/access_denied_mailer/
Related to #466562 (closed)
Edited by Doug Stull