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 783328 - Wrong organizations showing up in user's default environments list
Summary: Wrong organizations showing up in user's default environments list
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Partha Aji
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-01-20 01:11 UTC by Partha Aji
Modified: 2019-09-26 13:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:21:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 784016 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 784016

Description Partha Aji 2012-01-20 01:11:13 UTC
1) Have an instance with multiple orgs, and environments
2) As an admin Create a Role X
3) Give X permissions to read an Org OX, and permissions to read users.
4) Create a user UX and assign him role X
5) Login as user UX
6) Administration->Users -> UX-> Environments (on right tab)
7) See the list of available organizations under Default Organizations dropdown, 
  
Actual results:
Org OX shows up in the list, even though user UX can't give himself the right to register systems in any environment in Org OX.

Expected results:
Org OX should not appear on the list. In fact no orgs should show up in that list.


Rules of engagement with respect to default environments
Administrator -> Admin
User Being Modified -> X
Page -> Administration->Users -> X-> Environments


1) Admin with "create/modify users" perm should be able to see all the Organizations and Environments in drop down and update user X's orgs & environments.
2) Admin with only "read users" perm should not be edit/update orgs/environments of user X. The only exception to this rule is case where Admin = X, i.e. Admin is editing himself. In this case the Admin should be only able to see orgs & environments that Admin himself can register systems to.
3) X editing himself via top right-> <username>-> environments. In this case X should be only able to see orgs & environments that X himself can register systems to.

Comment 2 Mike McCune 2012-01-26 19:07:45 UTC
mass ON_QA move

Comment 4 Corey Welton 2012-02-08 03:29:37 UTC
QA Verified.


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