Project

General

Profile

Actions

Refactor #21920

closed

Refactor password auditing

Added by Anonymous over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Starting with Rails 5.1:

- message: password_changed is not an attribute known to Active Record. This behavior
    is deprecated and will be removed in the next version of Rails. If you'd like
    password_changed to be managed by Active Record, add `attribute :password_changed
    to your class.
  callstack: app/models/image.rb:31:in `set_password_changed'
- message: password_changed is not an attribute known to Active Record. This behavior
    is deprecated and will be removed in the next version of Rails. If you'd like
    password_changed to be managed by Active Record, add `attribute :password_changed
    to your class.
  callstack: app/models/user.rb:527:in `set_password_changed'


Related issues 6 (2 open4 closed)

Related to Foreman - Bug #16850: Password change activity does not show in Audit logClosedDominik Hlavac Duran10/10/2016Actions
Related to Foreman - Tracker #20948: Rails 5.1 upgrade tasksClosed09/16/2017

Actions
Related to Foreman - Bug #19169: CVE-2017-2672 - audit trail leaks sensitive data for Image eventsClosedMarek Hulán04/04/2017Actions
Related to Foreman - Refactor #20116: Redact sensitive information from audit logsNew06/27/2017Actions
Related to Foreman - Bug #22280: User Audits: False entry of "password changed" every time a user is updatedNew01/16/2018Actions
Blocks Foreman - Tracker #21834: Rails 5.2 upgrade tasksClosed

Actions
Actions #1

Updated by Anonymous over 6 years ago

  • Related to Bug #16850: Password change activity does not show in Audit log added
Actions #2

Updated by Anonymous over 6 years ago

Actions #3

Updated by Anonymous over 6 years ago

Actions #4

Updated by Anonymous over 6 years ago

  • Related to Bug #19169: CVE-2017-2672 - audit trail leaks sensitive data for Image events added
Actions #5

Updated by Anonymous over 6 years ago

Actions #6

Updated by Anonymous over 6 years ago

Actions #7

Updated by Anonymous over 6 years ago

this indeed leads to test errrors with Rails 5.1

Actions #8

Updated by Tomer Brisker over 6 years ago

  • Related to Refactor #20116: Redact sensitive information from audit logs added
Actions #9

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Tomer Brisker
  • Pull request https://github.com/theforeman/foreman/pull/5162 added
Actions #10

Updated by Marek Hulán over 6 years ago

  • translation missing: en.field_release set to 330
Actions #11

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #12

Updated by Marek Hulán over 6 years ago

  • Related to Bug #22280: User Audits: False entry of "password changed" every time a user is updated added
Actions

Also available in: Atom PDF