Project

General

Profile

Actions

Bug #26034

closed

blank affected organizations/locations for restricted user

Added by Marek Hulán almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Audit Log
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1652961

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):
6.5.0-5

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:

Actions

Also available in: Atom PDF