Description of problem:
compliance reports from a particular org should be visible when org context is set. Currently Compliance reports are not visible unless "Any Organization" is set.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run "foreman_scap_client <policy_id>" on the client
2. See that the compliance reports are visible only under "any organization" context.
compliance reports are visible only under "any organization" context.
compliance reports should be visible under their respective ORganization context.
I believe the reports organization are coupled with their respective host's organization. Can you please verify that the host belongs to an organization?
Yes the hosts do belong to "Default Organization", but still we cannot see the reports unless we set "Any org" as the Org context.
Created redmine issue http://projects.theforeman.org/issues/14446 from this bug
Please note that http://projects.theforeman.org/issues/14458 solves the issue.
please cherrypick the fix from http://projects.theforeman.org/issues/14458, it will also find its way to upstream 1.11.1.
VERIFIED with sat62-snap8.1
I had set the org-context, "Default Organization", "any ORg", "kbidarka_org".
Depending upon the org context the compliance reports were visible,
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.