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 1426957 - Roles not properly reflected on AD users
Summary: Roles not properly reflected on AD users
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: LDAP
Version: 6.2.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Dominik Hlavac Duran
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks: 1479962
TreeView+ depends on / blocked
 
Reported: 2017-02-26 20:16 UTC by Paul Dudley
Modified: 2021-07-22 07:25 UTC (History)
9 users (show)

Fixed In Version: foreman-1.14
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
usergroup roles are now visible (26.00 KB, image/png)
2017-08-18 18:17 UTC, Kedar Bidarkar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 15232 0 Normal Closed Usergroup Inherited Roles are not shown to Users in "My Account/Roles" tab 2020-12-03 12:15:17 UTC

Description Paul Dudley 2017-02-26 20:16:09 UTC
Description of problem:
User group assigned to particular role(s) seem to receive their assigned permissions, but the roles to reflect those permission are not seen in the webui.

Steps to Reproduce:
1. Create an authentication source - ensure 'Automatically create accounts in Satellite' is set
2. Create a role with some permissions
3. Create a user group, assign to this the role from step 2. Assign an AD group to this too.
4. Login as a user who is a member of that AD group.
5. The account is created (the user does not have proper permissions until foreman-rake ldap:refresh_usergroups is run)
6. When viewing the user Settings -> Users, note that the Role tab does not reflect the roles which have granted this user access.

Actual results:
User is given role, but the role is not seen in the webui.

Expected results:
Expect that the roles a user has been given can be seen if they have the permission to view roles.

Additional info:
User's cannot see their own roles as well in <username> > My Account > Roles - this page is blank. But with a normal locally created user with the same permissions, this page is populated.

Comment 2 Brad Buckingham 2017-06-01 13:30:02 UTC
Could this be a duplicate of bug 1378939?

Comment 3 Daniel Lobato Garcia 2017-06-21 08:44:43 UTC
Connecting redmine issue http://projects.theforeman.org/issues/15232 from this bug

Comment 4 Daniel Lobato Garcia 2017-06-21 08:46:43 UTC
Roles inherited from user groups are now visible, it's been fixed upstream. Moving to POST.

Comment 7 Satellite Program 2017-08-02 22:14:58 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/15232 has been resolved.

Comment 10 Kedar Bidarkar 2017-08-18 18:17:13 UTC
Created attachment 1315361 [details]
usergroup roles are now visible

Comment 11 Kedar Bidarkar 2017-08-18 18:17:59 UTC
VERIFIED with Sat6.3.0-snap11.0

Comment 12 Satellite Program 2018-02-21 16:54:17 UTC
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.
> 
> https://access.redhat.com/errata/RHSA-2018:0336


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