If I try to search through subnets with location_id every subnet is returned as long as the location_id actually exists. If I search for a nonexsitent location_id no subnet gets returned. Also searching for organizations seems to be broken too, because when I enter a location name as organization I get a list of all subnets. Examples: Subnet1: name: net1-mgmt location_id: 8 Subnet2: name: net2-mgmt location_id: 9 search_string: location_id = 9 and name ~ net%-mgmt Result: Both Subnets Expected Result: Subnet2 search_string: location_id = 90 and name ~ net%-mgmt Result: Nothing Expected Result: Nothing (this is actually correct) search_string: organization_id = 9 and name ~ net%-mgmt Result: Both Subnets Expected Result: Nothing as organization_id 9 does not exist
Created from redmine issue http://projects.theforeman.org/issues/19707
Upstream bug assigned to oprazak
*** Bug 1479885 has been marked as a duplicate of this bug. ***
Verified! @ Satellite 6.3 snap 21 Steps: Same as mentioned in Description Behavior: The number of filters in 'Organization Admin' roles in upgraded 6.3 and freshly installed satellite are same.
Sorry I accedently updated this bug instead of https://bugzilla.redhat.com/show_bug.cgi?id=1501414 Moving back to ON_QA.
Verified! @Satellite 6.3 snap 21 Steps: Scenario 1: ------------------------ Subnet1: name: net1-mgmt location_id: 8 Subnet2: name: net2-mgmt location_id: 9 search_string: location_id = 9 Result: subnet2 Expected Result: Subnet2 search_string: location_id = 90 Result: Nothing Expected Result: Nothing search_string: organization_id = 9 Result: Nothing Expected Result: Nothing Scenario2: ------------------ 1. Created Org Admin role and assigned any taxonomies to it 2. Created user and assigned above Org Admin role to it 3. Login with above Org Admin user 4. Go to Context Switcher, check if 'Manage Organizations' links are available Result: Manage Organizations option is not available and manage locations option is available as expected. Hence changing the state to Veriifed as the results are expected.
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