Bug #24232
closedNon admin user is unable to see the audits for katello and taxable resources created by admin using Any Location context
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1600095
Description of problem:
unlike Admin, a regular user is not able to effectively use "Any Location" context on accessing Katello resources. So if Admin user creates a katello resource while having "Any Location" context set, audits for these actions and resources will not be visible to a regular user.
Version-Release number of selected component (if applicable):
6.4.0-11
How reproducible:
always
Steps to Reproduce:
1. create an organization (o1)
2. clone the "Auditor" role and assign the clone to the org (o1)
2. create a regular user (u1), belonging to org (o1), having "Org Admin" and the auditor clone roles assigned.
3. as an Admin user, set your location context to Any Location and organization context to o1
4. as an Admin user, create some katello resource (e.g. content view) OR architecture.
5. optional: as admin, check that the audits have been created
6. as u1, check the audits
Actual results:
u1 is unable to see any audits related to the resources created|manipulated in step #4 despite the fact that these belong to his organization.
Updated by Sebastian Gräßl almost 6 years ago
- Subject changed from Non admin user is unable to see the audits for katello and taxable resources created by admin using Any Location context to Non admin user is unable to see the audits for katello and taxable resources created by admin using Any Location context
- Assignee set to Sebastian Gräßl
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6073 added
Updated by Sebastian Gräßl almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset c4693b378424ac1d9cb5aab9cd5e84b83a861479.
Updated by Chun-Liang Lin almost 6 years ago
- Related to Bug #25039: No Audit entries found if you selected the Organization filter. added
Updated by The Foreman Bot almost 6 years ago
- Pull request https://github.com/theforeman/foreman/pull/6251 added
Updated by Lukas Zapletal almost 6 years ago
- Fixed in Releases 1.21.0 added
- Fixed in Releases deleted (
1.20.0)
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/6319 added
Updated by Tomer Brisker over 5 years ago
It's too late for this issue, but please keep in mind only to use "Refs #" for follow up commits to issues that haven't been released yet.
Updated by Tomer Brisker over 5 years ago
- Related to Bug #25784: allowed_taxonomies always returns empty list added