Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1480561 - Organization Admin roles doesnt have permissions for Access Insights
Summary: Organization Admin roles doesnt have permissions for Access Insights
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Insights
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Jitendra Yejare
URL:
Whiteboard:
Depends On:
Blocks: 1373844
TreeView+ depends on / blocked
 
Reported: 2017-08-11 11:52 UTC by Jitendra Yejare
Modified: 2019-09-25 21:30 UTC (History)
4 users (show)

Fixed In Version: rubygem-foreman-redhat_access-2.0.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 13:45:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot Attached (29.66 KB, image/png)
2017-08-11 11:56 UTC, Jitendra Yejare
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github redhataccess foreman-plugin pull 11 0 None None None 2017-08-14 06:35:33 UTC

Description Jitendra Yejare 2017-08-11 11:52:15 UTC
Description of problem:
The Organization admin role doesn't have permissions for Access Insights.
When I login with Organization Admin in satellite it doesn't display menu for Access Insights.

Version-Release number of selected component (if applicable):
Satellite 6.3 snap 11

How reproducible:
Always

Steps to Reproduce:
1. Create org admin role by cloning Organization Admin default role
2. Create new user and assign above cloned role
3. Login with new user in satellite

Actual results:
For org admin user, The Access Insights menu isn't displayed

Expected results:
Org Admin should have permissions to Access Insights

Additional info:

Comment 2 Jitendra Yejare 2017-08-11 11:56:50 UTC
Created attachment 1312104 [details]
Screenshot Attached

Comment 3 Marek Hulan 2017-08-11 13:12:15 UTC
The gem needs to use the macro "add_all_permissions_to_default_roles" to extend permissions. Please ping me if you need more info.

Comment 4 Marek Hulan 2017-08-11 13:28:02 UTC
Sent a fix to https://github.com/redhataccess/foreman-plugin/pull/11

Comment 9 Jitendra Yejare 2017-08-28 13:06:23 UTC
Verified!

Satellite 6.3.0 snap 13

Steps:
1. Created org admin role by cloning Organization Admin default role
2. Created new user and assigned above cloned role
3. Login with new user in satellite

Actual results:
For org admin user, The Access Insights, Red Hat Acess menu is displayed.


Note:

I see some weird behavior while logged in as org Admin, that the Red hat access login dialog keep on refreshes and throws warning message of already logged in.
Bug is logged here : https://bugzilla.redhat.com/show_bug.cgi?id=1485929 
But the issue is out of scope for this bug. So verifying this bug.


Note You need to log in before you can comment on or make changes to this bug.