Closed ksierks closed 5 months ago
This looks good to me and is working as described! I don't have anything to comment on/suggest, just a question: Should we also email managers of the group sending out/revoking access? Ie: Group 1 sends Group 2 an invite, Group 1 managers also receive an email?
Covered | Threshold |
---|---|
92.24% | 90% |
What does this PR do and why?
Implemented emails for notifying users and managers when a group has been invited/uninvited to/from a group/project. Closes #476.
Note: A manager is a member that has a role of owner or maintainer.
Screenshots or screen recordings
Access granted email being sent to a user: Access granted email being sent to a manager: Access revoked email being sent to a user: Access revoked email being sent to a manager:
How to set up and validate locally
~/go/bin/MailHog
.group
orproject
that the logged in user is a manager of. Alternatively, you could create a newgroup
orproject
.Members
menu item, thenGroups
tab.Note: Email previews are located at http://localhost:3000/rails/mailers/group_link_mailer.
PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.