Bug #25039
closed
No Audit entries found if you selected the Organization filter.
Added by Chun-Liang Lin about 6 years ago.
Updated about 6 years ago.
Description
We have used the Organization in Foreman and we just upgraded the Foreman to 1.18.2.
If I selected the Organization filter to "Any Organization", I can view all of the hosts and view the Host audit entries by click the Audits button.
If I selected the Organization filter to any specific Organization, I can view all of the hosts but can't view the Host audit entries by click the Audits button.
https://foreman/hosts/server_name/audits shows "No entries found"
- Related to Bug #24232: Non admin user is unable to see the audits for katello and taxable resources created by admin using Any Location context added
This will only work properly in 1.20, audits now inherit taxonomies from resources that are also taxable (e.g. by organization) and audits page reflects that. The change is too big to backport to 1.18/1.19. The workaround should be to look at the page under admin user in any context, that should always give you all audits.
Can we close this as dup of #24232?
My workaround is to remove the with_taxonomy_scope in app/controllers/audits_controller.rb now.
Yes. we can close it. Thanks.
- Status changed from New to Duplicate
yeah that would help, thanks, closing
Also available in: Atom
PDF