Service Desk: sending uploads as email attachments
What does this MR do and why?
This changes allow to display warning message when issue_email_participants
add attachment to service desk new comment.
Warning message is "Attachments are sent by email. Attachments over 10 MB are sent as links to your GitLab instance and only accessible to project members."
Warning is disappeared once attachment link is deleted.
Warning is disable the warning if it's an internal comment, because internal comments (note.confidential
) skip sending Service Desk emails.
Screenshots or screen recordings
How to set up and validate locally
- Enable the Feature Flag via the rails console
bin/rails c
andFeature.enable(:service_desk_new_note_email_native_attachments)
- rollout issue - Go to any Service Desk issue.
- Add upload to new comment.
- Warning is appeared.
- Remove upload's link from comment field.
- Warning is disappeared
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.
Related to #11733 (closed)
Edited by Peter Leitzen