Bug #19359
closedUnable to view OpenSCAP ARF Reports
Description
Description of problem:
Cannot view compliance reports as non-admin with 'Compliance Viewer' role
Steps to reproduce
1) As admin, create a user with roles 'View hosts', 'Viewer', 'Compliance Viewer'
2) Make sure there are ARF reports and you can view them as admin
3) Log out, log in as a user from step 1
4) Go to Hosts -> Reports to view ARF reports
5) Get an empty table with 'No entries found' even though I was able to view reports as admin. Switching organization context does not make a difference.
Updated by Ondřej Pražák almost 7 years ago
- Subject changed from Unable to view OpenSCAP ARF Reports to Unable to view OpenSCAP ARF Reports
- Target version set to 115
Updated by Marek Hulán almost 7 years ago
This might be a duplicate of #17831, Ondrej could you please check whether it solves the issue?
Updated by Ondřej Pražák almost 7 years ago
It seems like it is the same issue but #17831 does not fix it for me for some reason. I would leave this open for now and investigate further.
Updated by Marek Hulán almost 7 years ago
- Status changed from New to Resolved
I retested the patch and it works for me on affected version. Don't forget to run the migrations. If it does not work for you, please provide the SQL log when you try to list the reports and make sure you can see the view_arf_report under ForemanOpenscap::ArfReport resource type. If you still hit the issue, please reopen.