Project

General

Profile

Actions

Bug #19952

closed

audits no longer visible in 1.15 if user is not administrator

Added by Lars Wagner almost 7 years ago. Updated almost 6 years ago.

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

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").

Actions #1

Updated by Daniel Lobato Garcia almost 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

Actions #2

Updated by The Foreman Bot almost 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
Actions #3

Updated by Lars Wagner almost 7 years ago

After applying your patch, the audits are visible. Thank you very much!

Actions #4

Updated by Daniel Lobato Garcia almost 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).

Actions #5

Updated by Anonymous almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF