Bug #20470

Filter modification on roles is not audited

Added by Tomer Brisker almost 5 years ago. Updated almost 4 years ago.

Audit Log
Target version:
Bugzilla link:
Fixed in Releases:
Found in Releases:


Cloned from

Description of problem:
If we create, delete or rename a role, it is creating an audit entry, but when we add or remove a filter, it does not appear in audits.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create a new role: Administer > Roles
2. Click on "New role"
3. For this example, I am creating a role called: bug_test_role
4. Click Submit
5. Under Monitor > Audits
We can see a new entry
Ex: Admin ( created Role: bug_test_role
6. Go back to Administer > Roles
7. Click on bug_test_role to edit the role
8. Add 1 or more filter to that role
9, Under Monitor > Audits
No new entry is created for the Filter added to the role

Actual results:
No audit entry is created.

Expected results:
Have a "update" entry for the role indicating what filter were added or removed

Additional info:
More details on the audit logs from the api
Check the audits logs from the API
  1. curl -X GET -s -k -u admin:changeme | jq .results[] | jq 'select(.auditable_name=="bug_test_role")'

Associated revisions

Revision ce76bd81 (diff)
Added by Tomer Brisker almost 5 years ago

Fixes #20470 - Audit role filter changes


#1 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Tomer Brisker
  • Pull request added

#2 Updated by Anonymous almost 5 years ago

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

#3 Updated by Marek Hulán almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 296

Also available in: Atom PDF