mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 12:43:54 -06:00
ab3a032b4b
When sending emails out via group SMTP, if we are sending them to non-staged users we want to mask those emails with BCC, just so we don't expose them to anyone we shouldn't. Staged users are ones that have likely only interacted with support via email, and will likely include other people who were CC'd on the original email to the group. Co-authored-by: Martin Brennan <martin@discourse.org>
8 lines
179 B
Ruby
8 lines
179 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddBccAddressesToEmailLog < ActiveRecord::Migration[7.0]
|
|
def change
|
|
add_column :email_logs, :bcc_addresses, :text, null: true
|
|
end
|
|
end
|