If you give the view permissions on both products, does it work?
So far, I'm not able to reproduce this issue? Were you able to reproduce this manually, or we've seen it in the automation only so far? How exactly the role assigned to the user looked like?
Created attachment 1345824 [details] Filer on the user's role I was able to reproduce this, The role is not in any org/loc PFA for filters on role hammer -v -u 82dSz5ARxO -p ECOTf6BwL4 --output=csv erratum list --per-page="10000" If we remove the --organization-id , then I am able to see the erratum for the product with filter applied
Also no even if I add permissions to view two products I hit the issue, But ,when I try the command without org-id parameter I am able to see desired output
I was only able to reproduce the issue, when the user was not assigned to the corresponding org. Could that be the case?
Yes, user is not in the org, On assigning the org to the user the errata was listed, hammer -v -u P4M6NAACCg -p ZcUi3DFcqE --output=csv erratum list --organization-id="45" --per-page="10000"
In that case, it's not a bug, but a fix for a bug, as before we let listing erratum and we were not respecting the org association
As per https://bugzilla.redhat.com/show_bug.cgi?id=1507523#c10, cloisng as NOTABUG