Description of problem:
Non-admin user with all required permissions can't generate applicable errata report, an empty report is generated.
Version-Release number of selected component (if applicable): Satellite 6.5.2
How reproducible: Always
Steps to Reproduce:
1. Create a non-admin user, assign Default Org/Loc
2. Create role and assign all permissions of "Report template" and "Satellite tasks/task"
3. Assign a role to previously created user
4. Log in as a user, try to generate an applied errata template. The empty report is generated
Actual results: Blank report is generated
Expected results: It should generate a correct report
Does the user also have view_hosts and view_errata permissions? If not, add them too.
Yes, We applied org admin and viewer roles but none of them worked.
But this patch resolved the issue
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28715 has been resolved.