Bug #26034

blank affected organizations/locations for restricted user

Added by Marek Hulán almost 2 years ago. Updated over 1 year ago.

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


Cloned from

Description of problem:
as a restricted user with a cloned "auditor" role (assigned to the same org as user) with added "view_organizations/locations" filters,
the `affected organizations` and `affected locations` fields remain blank.

The audit records seem to respect the taxonomies though (they are filtered on switching the org/loc context)

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

Steps to Reproduce:
1. create new org
2. clone auditor role and assign it to the new org and add view_organizations, view_locations filters to it
3. create user inside the new org and assign him the cloned role
4. as Admin, create some entity (if taxable, make sure you create them in the new org)
5. as Admin, verify the audit record was created for the action and that the audit contains the "affected orgs/locs" values

6. as New User, verify the created audits.

Actual results:
Affected Organizations, Locations are blank

Expected results:
applicable organizations/locations should be displayed (respecting the users taxonomy membership)

Additional info:

Associated revisions

Revision fb210265 (diff)
Added by Ondřej Pražák over 1 year ago

Fixes #26034 - Show affected taxonomies in audits (#6547)


#1 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Ondřej Pražák
  • Status changed from New to Ready For Testing
  • Pull request added

#2 Updated by Marek Hulán over 1 year ago

  • Subject changed from blank affected organizations/locations for restricted user to blank affected organizations/locations for restricted user
  • Fixed in Releases 1.22.0 added

#3 Updated by Ondřej Pražák over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF