Bug #19952
closedaudits no longer visible in 1.15 if user is not administrator
Description
The audits list under Monitor => Audits is no longer visible in version 1.15 if the user hasn't the Administrator role. The assigned role has the view_audit_logs permission in resource Audit. The Audit list is just empty ("No entries found").
Updated by Daniel Lobato Garcia over 7 years ago
I can reproduce with the current develop branch, so I assume something between 1.15 and 1.14 borked this. This sounds like a candidate for the next 1.15 patch release.
Note the permissions to show the page seem to work, it's just the content that doesn't load unless User.current == admin
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman/pull/4575 added
Updated by Lars Wagner over 7 years ago
After applying your patch, the audits are visible. Thank you very much!
Updated by Daniel Lobato Garcia over 7 years ago
- Translation missing: en.field_release set to 248
No worries, I think this definitely is a regression, so I'm marking it for 1.15.2 (to be released in a couple of weeks).
Updated by Anonymous over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 3cf5b75af76d69fc6db869a44654db1d3133c665.