Bug #19952
closed
audits no longer visible in 1.15 if user is not administrator
Added by Lars Wagner over 7 years ago.
Updated over 6 years ago.
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").
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
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman/pull/4575 added
After applying your patch, the audits are visible. Thank you very much!
- 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).
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF