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 807804 - Hidden user can be added to a role.
Summary: Hidden user can be added to a role.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Garik Khachikyan
URL:
Whiteboard:
: 811262 (view as bug list)
Depends On:
Blocks: 827550
TreeView+ depends on / blocked
 
Reported: 2012-03-28 18:50 UTC by Justin Sherrill
Modified: 2019-09-25 21:09 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A hidden user used for pulp interactions unintentionally appeared on the Roles page. This fix removes the user.
Clone Of:
: 827550 (view as bug list)
Environment:
Last Closed: 2012-12-04 19:44:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 0 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-05 00:39:57 UTC

Description Justin Sherrill 2012-03-28 18:50:01 UTC
Description of problem:

The hidden user we sometimes use to talk to pulp with is being shown on the role edit page, meaning you can add roles to this hidden user.  It really does not present a security risk, as this user cannot login and his password is randomized.  



1.  Go to roles, 
2.  Click on a role
3.  go to users
4.  see the hidden user there.


Trivial to fix, simply change User.all.each in breadcrumb helper to User.readable.each.

Comment 1 Justin Sherrill 2012-03-28 18:53:43 UTC
katello master:

d42fb19c341765cc48974371c4c6dce22147a71a

Comment 2 Lukas Zapletal 2012-03-29 11:43:58 UTC
kk user_role list
-----------------------------------------------------------------------------------------------
                                        User Role List

 Id   Name             
-----------------------------------------------------------------------------------------------
 1    Administrator    
 2    Read Everything  


CLI looks fine to me.

Comment 3 Justin Sherrill 2012-04-17 16:50:30 UTC
*** Bug 811262 has been marked as a duplicate of this bug. ***

Comment 7 Garik Khachikyan 2012-09-18 11:53:42 UTC
# VERIFIED

fixed. the hidden user disappeared from the list of the users (for the role).

checked on:
---
python-qpid-0.7.946106-1.el6.noarch
candlepin-cert-consumer-brno-cfse.usersys.redhat.com-1.0-1.noarch
qpid-cpp-client-0.14-16.el6.x86_64
candlepin-0.7.8-1.el6cf.noarch
katello-glue-pulp-1.1.12-7.el6cf.noarch
qpid-cpp-server-ssl-0.14-16.el6.x86_64
katello-candlepin-cert-key-pair-1.0-1.noarch
mod_wsgi-3.3-3.pulp.el6.x86_64
python-isodate-0.4.4-4.pulp.el6.noarch
katello-cli-common-1.1.8-1.git.2.a0908e7.el6.noarch
katello-cli-1.1.8-1.git.2.a0908e7.el6.noarch
qpid-cpp-client-ssl-0.14-16.el6.x86_64
python-oauth2-1.5.170-2.pulp.el6.noarch
pulp-common-1.1.12-1.el6cf.noarch
pulp-selinux-server-1.1.12-1.el6cf.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
candlepin-selinux-0.7.8-1.el6cf.noarch
katello-common-1.1.12-7.el6cf.noarch
katello-glue-candlepin-1.1.12-7.el6cf.noarch
katello-1.1.12-7.el6cf.noarch
katello-all-1.1.12-7.el6cf.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-certs-tools-1.1.8-1.el6cf.noarch
katello-repos-1.1.2-1.el6.noarch
katello-agent-1.1.2-1.el6.noarch
katello-configure-1.1.9-3.el6cf.noarch
qpid-cpp-server-0.14-16.el6.x86_64
pulp-1.1.12-1.el6cf.noarch
katello-selinux-1.1.1-1.el6cf.noarch
candlepin-tomcat6-0.7.8-1.el6cf.noarch
katello-qpid-client-key-pair-1.0-1.noarch
---

Comment 9 errata-xmlrpc 2012-12-04 19:44:13 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.

http://rhn.redhat.com/errata/RHSA-2012-1543.html


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