Project

General

Profile

Feature #22892

Make audited associations extendable from plugins

Added by Marek Hulán 7 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Audit Log
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Since audited can't be called twice in the same model, plugins can't easily extend existing audited definition in core. For attributes this is not a huge problem as we always use :except so all attributes added from plugins are audited but associations, that are listed explicitly can't be added. Since Foreman adds this using DirtyAssociations module, it should also provide a way to add more associations from plugins.

Associated revisions

Revision 4a1f6711 (diff)
Added by Marek Hulán 7 months ago

Fixes #22892 - allow extending audited associations

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5322 added

#2 Updated by Tomer Brisker 7 months ago

  • Legacy Backlogs Release (now unused) set to 330

#3 Updated by Marek Hulán 7 months ago

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

Also available in: Atom PDF