Project

General

Profile

Actions

Feature #474

open

Replace email content with a link to the respective content

Added by liaham over 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
6.00 h
Compatible Redmine Version:

Description

By default emails for tasks are sent with the full description of the task, changes of attributes and the latest comment.

These information might be to sensible in order to send them without encryption via email. Replacing the default content of a task by a link to that task should reduce the risk to violate the confidentiality.

Idea - override mailer templates (view/mailer/_issue.*):

<h1>
  <%= link_to("#{issue.tracker.name} ##{issue.id}: #{issue.subject}", issue_url) %>
  <%= issue_status_type_badge(issue.status) %>
</h1>
<% if (Setting allows to disable email content) %> <-- NEW
  <%= render_email_issue_attributes(issue, user, true) %>

  <%= textilizable(issue, :description, :only_path => false) %>

  <% if issue.attachments.any? %>
    <fieldset class="attachments"><legend><%= l(:label_attachment_plural) %></legend>
    <% issue.attachments.each do |attachment| %>
      <%= link_to_attachment attachment, :download => true, :only_path => false %>
      (<%= number_to_human_size(attachment.filesize) %>)<br />
    <% end %>
    </fieldset>
  <% end %>
<% end %> <-- NEW

Provide also a setting for this feature!


Related issues 1 (1 open0 closed)

Related to Redmine Email Customizer - Feature #732: Add a choice for disabling issue contents when sending an email about changesNew

Actions
Actions

Also available in: Atom PDF