Bug #20708
Audit do not properly display and search on partition tables and provisioning templates
Pull request:
Fixed in Releases:
Found in Releases:
Description
Because of STI, audit log saves "Template" as auditable_type for both types. We should separate it. Also we should print the right class in audit log for new audit records. That should also enable searching audits based on this type, e.g. "partition_table = aaa" or "provisioning_template = bbb" instead of current "template = something" which searches in both.
Related issues
Associated revisions
Refs #20708 - reset default templates type
Refs #20708 - reset default templates type
History
#1
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4778 added
#2
Updated by Marek Hulán over 3 years ago
- Target version changed from 1.18.0-RC2 to 214
#3
Updated by Anonymous over 3 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 83775e639460586072d6be23b7937eaf507eebd3.
#4
Updated by Marek Hulán over 3 years ago
- Legacy Backlogs Release (now unused) set to 296
#5
Updated by The Foreman Bot over 3 years ago
- Pull request https://github.com/theforeman/foreman/pull/4822 added
#6
Updated by Ivan Necas over 3 years ago
- Bugzilla link set to 1492668
#7
Updated by Ivan Necas over 3 years ago
- Related to Bug #21206: Partition tables loses org/loc association after upgrade added
#8
Updated by Ivan Necas about 3 years ago
- Related to Bug #21888: Upgrade to 6.3 hides ReX templates added
Fixes #20708 - fix templates auditing
Templates were audited under parent class. This keeps separate audits
per template type and allows searching by provisioning_template and
partition_table names. It also fixes broken associations in
taxable_taxonomies table.