Bug 1442171

Summary: RBAC: Not able to get hosts added to the Host collection
Product: Red Hat Satellite Reporter: maneesh verma <mverma>
Component: Host CollectionsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.7CC: bbuckingham, dhlavacd, mhulan
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-17 13:38:08 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:

Description maneesh verma 2017-04-13 17:25:25 UTC
Description of problem:

After creating new roles specific to host collection, the new user not able to add hosts to the host collection as none of the content host displaying.

How reproducible:
Every time a new user with Host collection, host and content host roles is created.

Steps to Reproduce:

1- Create a test user.
2- Created roles with full permission for Hosts, Host collection, and Content host.
3- Created a new Host collection succeeded on that.
4- But not able to add any host to the host collections as Content hosts are not displaying any host and which is required for creating host collection.

Actual results:
None of the hosts shows available to add in host collection

Expected results:
It should list all the content hosts to add in the host collections.

Additional info:
The workaround is in place we have to make all user as an admin user to add the hosts in the host collection.