Bug 2054879

Summary: Missing insights user roles in satellite 6.10
Product: Red Hat Satellite Reporter: soham <smajumda>
Component: RH CloudAssignee: Shimon Shtein <sshtein>
Status: CLOSED CURRENTRELEASE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.10.2CC: agilley, aruzicka, bkearney, ehelms, jyoung, robwilli, sshtein, wpinheir
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-03 06:26:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description soham 2022-02-15 21:04:42 UTC
Description of problem:
Below User roles are missing in satellite 6.10 . They were present till 6.9

- Access Insights Admin 
- Access Insights Viewer

this happens with FRESH 6.10.2 installs.

If it's an upgraded satellite, the Insights roles are still there. 

Version-Release number of selected component (if applicable):


How reproducible:
Always


Steps to Reproduce:
1.Install a fresh satellite 6.10


Actual results:
Below user roles are absent
- Access Insights Admin 
- Access Insights Viewer

Expected results:
Above mentioned user Roles should be present.

Comment 1 Brad Buckingham 2022-02-21 14:53:17 UTC
Is this a regression in behavior?

Comment 2 Adam Ruzicka 2022-02-21 14:57:45 UTC
Isn't this caused by the old rh access plugin going away in 6.19? And therefore there's no reason for the roles to be present and this is in fact not a bug?

Comment 3 Jerone Young 2022-02-21 15:16:52 UTC
This is a bug. You cannot control who can see the Insights Recommendation data coming into Satellite.

There should be a role for who can see this data.

Comment 6 Adam Ruzicka 2022-02-21 17:41:24 UTC
> Isn't this caused by the old rh access plugin going away in 6.19

Of course I meant 6.10 here

> You cannot control who can see the Insights Recommendation data coming into Satellite.

This might be correct, but ultimately (if I'm reading the code right) not related to Access Insights * roles in any way

> There should be a role for who can see this data.

That sounds right, however Access Insights * roles are not it.

Comment 14 Jerone Young 2022-03-29 21:17:40 UTC
Able work with Shimon Shtein to find equivalent permissions in Satellite to resolve issue.

To simulate what was there we will make custom roles with the following permissions:

Custom Insights Admin
  generate_foreman_rh_cloud
  view_foreman_rh_cloud
  view_insights_hits

Custom Insights Viewer
   view_foreman_rh_cloud
   view_insights_hits

We have a solution that works. But not intuitive for a user to figure out currently.

Comment 19 Red Hat Bugzilla 2024-10-02 04:25:03 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days