Bug 1300893

Summary: Organization and location setting of 'all users' prevents user from selecting organization or location
Product: Red Hat Satellite Reporter: dzr0001
Component: Organizations and LocationsAssignee: Kavita <kgaikwad>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.6CC: bkearney, dzr0001, kgaikwad, mhulan, mmccune
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: 2017-08-11 12:46:25 UTC Type: Bug
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: 1321543    
Bug Blocks:    
Attachments:
Description Flags
Foreman logs none

Description dzr0001 2016-01-22 01:40:09 UTC
Description of problem:

In order to allow autocreated users access to locations and organzations, the 'all users' box was ticked. All created users display properly in the 'selected items' column.

However, so long as this box is ticked, a user cannot select an organization or location, preventing them from viewing organization or location specific objects such as content hosts.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. As admin user select 'all users' for an organization/location
2. As regular user logout/login to Satellite
3. Context switcher for organization/location do not display choices
4. Deselect 'all users' for organization/location
5. As regular user logout/login
6. Context switcher works as expected
7. Reselect 'all users' and observe broken behavior again

Actual results:

User cannot select context when 'all users' is selected for an organization or location.

Expected results:

User should be able to select an organization or location that they are assigned to if they are assigned via 'all users' option.

Additional info:

Comment 1 dzr0001 2016-01-22 02:08:11 UTC
Created attachment 1117079 [details]
Foreman logs

This log shows the state of the organization database entry when 'all users' is checked vs unchecked. Also, I've added a grep of 'Organization' from the foreman production log when the option was checked, unchecked, and re-checked.

Comment 3 Bryan Kearney 2016-07-08 20:23:53 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 6 Satellite Program 2017-07-19 12:15:25 UTC
Upstream bug assigned to kgaikwad

Comment 7 Satellite Program 2017-07-19 12:15:28 UTC
Upstream bug assigned to kgaikwad

Comment 8 Bryan Kearney 2017-08-11 12:46:25 UTC
Marking this as a dupe of  https://bugzilla.redhat.com/show_bug.cgi?id=1321543
 based on engineering research.

*** This bug has been marked as a duplicate of bug 1321543 ***