Bug 1112112

Summary: roles: auto search should be enabled for all katello related resource types.
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: Users & RolesAssignee: Stephen Benjamin <stbenjam>
Status: CLOSED ERRATA QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, cwelton, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/6488
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:09:42 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:
Attachments:
Description Flags
auto search available for all resources from foreman but not for katello one's none

Description Sachin Ghai 2014-06-23 07:28:58 UTC
Created attachment 911315 [details]
auto search available for all resources from foreman but not for katello one's

Description of problem:
I was trying to add permissions under a selected role. When I choose 'medium' resource type and unchecked the 'Unlimited' checkbox to search n select specific resource then auto search was active (see screenshot)

However when I tried to select "LifeCycle Environment" then auto search was not enabled.

I tried other resource types like Domain and environment and auto search was enabled for these as well. However I didn't see this for any of katello related resource type.

Version-Release number of selected component (if applicable):
sat6 beta snap10 compose2

How reproducible:
always

Steps to Reproduce:
1. create a role
2. Add permissions to role
3. select "LifeCycle environment, activation keys

Actual results:
auto search not enabled for katello related resource types. However it is enabled for foreman resources like domain, environment, medium etc.

Expected results:
behaviour should be same for both foreman and katello resources. So expecting same auto search for katello related resources.

Additional info:

Comment 2 Stephen Benjamin 2014-07-03 17:04:28 UTC
Created redmine issue http://projects.theforeman.org/issues/6488 from this bug

Comment 3 Stephen Benjamin 2014-07-03 17:06:40 UTC
*** Bug 1111531 has been marked as a duplicate of this bug. ***

Comment 4 Stephen Benjamin 2014-09-15 10:19:39 UTC
Upstream
katello|09d306eb11379dbb9fae1e4abcbf2c8ac0a567ef

Comment 5 Tazim Kolhar 2014-10-10 11:46:23 UTC
VERIFIED:


*** This bug is verified in upstream.  This fix should eventually land in future downstream builds ***

# rpm -qa | grep foreman
foreman-gce-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch
ruby193-rubygem-foreman_discovery-1.4.0-0.1.rc4.el7.noarch
hp-bl420cgen8-01.rhts.eng.bos.redhat.com-foreman-proxy-1.0-1.noarch
foreman-compute-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410git163c264.git.0.988ca80.el7.noarch
foreman-release-1.7.0-0.develop.201410071158git54141ab.el7.noarch
foreman-proxy-1.7.0-0.develop.201410081229git52f0bac.el7.noarch
hp-bl420cgen8-01.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch
foreman-ovirt-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch
ruby193-rubygem-foreman-tasks-0.6.9-1.el7.noarch
foreman-selinux-1.7.0-0.develop.201409301113git2f345de.el7.noarch
foreman-postgresql-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch
foreman-vmware-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch
ruby193-rubygem-foreman_bootdisk-4.0.0-1.el7.noarch
foreman-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch
foreman-libvirt-1.7.0-0.develop.201410081938git1cf31c6.el7.noarch
rubygem-hammer_cli_foreman-0.1.3-1.201409191432gitc38f9c8.el7.noarch

auto search is enabled for katello related resource types (tried for activation keys,lifecycle environment)

Comment 6 Bryan Kearney 2015-08-11 13:23:42 UTC
This bug is slated to be released with Satellite 6.1.

Comment 7 errata-xmlrpc 2015-08-12 05:09:42 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.

https://access.redhat.com/errata/RHSA-2015:1592