Project

General

Profile

Actions

Feature #21421

closed

Security Notifications when security related things are changed

Feature #21421: Security Notifications when security related things are changed

Added by Jan from Planio www.plan.io almost 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Security
Target version:
Resolution:
Fixed

Description

As a user I want to receive an email whenever something security related (e.g. my password, my account email address) is changed.

As an admin, I would like to receive also emails about global changes (e.g. "login required" disactivated) or the addition/removal of other admins.

The attached patch series against current trunk implements this. Would be great if that could be included in one of the next releases. Thanks!


Files

0001-Store-user-s-IP-address-for-the-duration-of-the-requ.patch (2.37 KB) 0001-Store-user-s-IP-address-for-the-duration-of-the-requ.patch Jan from Planio www.plan.io, 2015-12-04 09:29
0005-Harmonize-setting-labels.patch (4.29 KB) 0005-Harmonize-setting-labels.patch Jan from Planio www.plan.io, 2015-12-04 09:29
0000-Add-optional-user-parameter-to-I18n-format_time-to-o.patch (1.21 KB) 0000-Add-optional-user-parameter-to-I18n-format_time-to-o.patch Jan from Planio www.plan.io, 2015-12-11 12:33
0002-Add-Mailer-security_notification.patch (6.68 KB) 0002-Add-Mailer-security_notification.patch Jan from Planio www.plan.io, 2015-12-11 12:33
0004-Send-a-security-notification-when-a-user-s-email-add.patch (8.83 KB) 0004-Send-a-security-notification-when-a-user-s-email-add.patch Jan from Planio www.plan.io, 2015-12-12 14:30
0006-Send-a-security-notification-when-certain-settings-a.patch (5.64 KB) 0006-Send-a-security-notification-when-certain-settings-a.patch Jan from Planio www.plan.io, 2015-12-13 07:10
0003-Send-a-security-notification-when-a-user-s-password-.patch (4.03 KB) 0003-Send-a-security-notification-when-a-user-s-password-.patch Jan from Planio www.plan.io, 2015-12-13 08:13
0007-Send-a-security-notification-when-users-gain-or-loos.patch (8.34 KB) 0007-Send-a-security-notification-when-users-gain-or-loos.patch Jan from Planio www.plan.io, 2015-12-13 08:36
0008-Allow-overriding-of-originator-and-remote_ip-causing-a-s.patch (4.61 KB) 0008-Allow-overriding-of-originator-and-remote_ip-causing-a-s.patch Jan from Planio www.plan.io, 2015-12-13 09:38

Related issues 2 (1 open — 1 closed)

Related to Redmine - Defect #23369: encoding error in locales de.ymlClosedActions
Related to Redmine - Defect #32193: Add turn on/off button to control sending security notificationsNewActions

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #1

  • Description updated (diff)

Updated by Jean-Philippe Lang almost 11 years ago Actions #2

  • Target version changed from Candidate for next major release to 3.3.0

Nice addition but maybe a bit late for 3.2.0. I'm assigning it to 3.3.0

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #3

Jean-Philippe Lang wrote:

Nice addition but maybe a bit late for 3.2.0. I'm assigning it to 3.3.0

Thanks for your feedback. 3.3.0 would be great!

After review, I'm also updating the patch series:

  • replace bogus gmail address with more appropriate example.foo address
  • rebase on current master (fixed a test)
  • use correct time zone for mails

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #4

  • File deleted (0002-Add-Mailer-security_notification.patch)

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #5

  • File deleted (0007-Send-a-security-notification-when-users-gain-or-loos.patch)

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #6

  • File deleted (0004-Send-a-security-notification-when-a-user-s-email-add.patch)

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #7

Fix Patch 4 so that the user whose email address is changed gets the mail (not the current user). They might differ in case an admin changes email addresses for a different user.

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #8

  • File deleted (0007-Send-a-security-notification-when-users-gain-or-loos.patch)

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #9

  • File deleted (0006-Send-a-security-notification-when-certain-settings-a.patch)

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #10

Fix patches 6 and 7 so that security notifications only get sent to active admins only.

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #11

  • File deleted (0003-Send-a-security-notification-when-a-user-s-password-.patch)

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #12

Fix patch 3 to also send a security notification when the user's password is changed after a lost password.

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #13

  • File deleted (0007-Send-a-security-notification-when-users-gain-or-loos.patch)

Updated by Jan from Planio www.plan.io almost 11 years ago Actions #15

Adding patch 8 which allows overriding of originator and remote_ip causing a security notification and use these overrides in lost password procedure (where no real session is initiated).

Updated by Jean-Philippe Lang over 10 years ago Actions #16

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Feature added with a few changes, eg. we're sending one email about changed settings to all admins instead of one email to each amdin for each setting.
Thanks.

Updated by Toshi MARUYAMA over 10 years ago Actions #17

  • Related to Defect #23369: encoding error in locales de.yml added

Updated by Joel Bearden over 10 years ago Actions #18

This is a nice feature. How do I turn these notifications off? Or limit the recipient list?

Updated by Toshi MARUYAMA about 10 years ago Actions #19

Joel Bearden wrote:

This is a nice feature. How do I turn these notifications off? Or limit the recipient list?

Please create new feature issue.

Updated by Go MAEDA about 7 years ago Actions #20

  • Related to Defect #32193: Add turn on/off button to control sending security notifications added
Actions

Also available in: PDF Atom