Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 760563

Summary: User cannot see their roles & permissions
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: WebUIAssignee: Tom McKay <tomckay>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: mmccune, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:10:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    
Attachments:
Description Flags
user can view assigned roles ands permisisons none

Description Tom McKay 2011-12-06 14:21:34 UTC
A non-admin user has no way to see the roles and permissions they have.

To reproduce, login as a non-admin user then click the username in the upper right corner of UI.

I suggest that the view displayed when clicking this be similar to the admin view (three tabs General, Environments, Roles & Permissions).

Comment 1 Tom McKay 2011-12-08 15:14:47 UTC
commit 49be4366793ccd49fc30bafb8b02c87064cef2b9
Author: Tom McKay <thomasmckay>
Date:   Thu Dec 8 10:09:25 2011 -0500

    + Bug 754526 - Cannot unset a user's default env
      https://bugzilla.redhat.com/show_bug.cgi?id=754526
      Choosing "No Default Organization" works now
    + Bug 754855 - User cannot change default system environment on their own
      https://bugzilla.redhat.com/show_bug.cgi?id=754855
      User editing own account now allows editing of default env
    + Bug 760563 - User cannot see their roles & permissions
      https://bugzilla.redhat.com/show_bug.cgi?id=760563
      User editing their own account can see (but not modify) their roles
    + Bug 760635 - Creating new user with "No Default Organization" is awkward/broken.
      https://bugzilla.redhat.com/show_bug.cgi?id=760635
      Save button on Environments tab now properly enables/disables based upon
      current choice vs. current default.

Comment 2 Sachin Ghai 2011-12-22 09:37:47 UTC
Verified in following katello build:

[root@dhcp201-162 ~]# rpm -qa | grep katello
katello-0.1.154-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-cli-common-0.1.30-1.el6.noarch
katello-glue-pulp-0.1.154-1.el6.noarch
katello-configure-0.1.46-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-glue-candlepin-0.1.154-1.el6.noarch
katello-all-0.1.154-1.el6.noarch
katello-repos-0.1.4-1.el6.noarch
katello-cli-0.1.30-1.el6.noarch
katello-glue-foreman-0.1.154-1.el6.noarch
katello-common-0.1.154-1.el6.noarch
katello-certs-tools-1.0.1-1.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
[root@dhcp201-162 ~]# rpm -qa | grep katello-cli
katello-cli-common-0.1.30-1.el6.noarch
katello-cli-0.1.30-1.el6.noarch



Now a non-admin user can see the roles as below. This is only in case if user has permission to "access users"

Comment 3 Sachin Ghai 2011-12-22 09:38:49 UTC
Created attachment 549155 [details]
user can view assigned roles ands permisisons