Bug 1460130

Summary: Non-admin has all roles but can't create or use host collections
Product: Red Hat Satellite 6 Reporter: anerurka
Component: Host CollectionsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.9CC: bbuckingham, nkathole
Target Milestone: GAKeywords: Triaged
Target Release: --   
Hardware: All   
OS: All   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 12:11:58 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
screenshot of UI with non-admin user
screenshot of UI showing create host collection none

Description anerurka 2017-06-09 04:13:26 EDT
Description of problem:

User does not see '+ New Host Collection' button or 'Collection Actions' tab in existing host collections.

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


How reproducible:

Steps to Reproduce:

1. Create user with all possible permissions but without administrator flag.
2. Login with non-admin user and navigate to Host Collection Tab

Actual results:

Unable to see '+ New Host Collection' button or 'Collection Actions' tab in existing host collections.

Expected results:

Should be able to see '+ New Host Collection' button or 'Collection Actions' tab in existing host collections.
Comment 2 Brad Buckingham 2017-09-22 15:58:25 EDT
With Satellite 6.3, a non-admin user can create host collections and add hosts to them.

The following is an example:

- Permissions on the user include the following:

  - resource: Organization, permission: view_organizations
  - resource: Host Collections, permissions: view_host_collections, create_host_collections, edit_host_collections, destroy_host_collections
  - resource: Host, permissions: view_hosts, edit_hosts

- log in as the user with these permissions

- go to Hosts -> Host Collections
- click 'Create Host Collection'
- provide a 'Name' and Save/Submit
- click 'Hosts'
- click 'Add'
- click checkboxes next to hosts that want to add
- click 'Add Selected'
- success!

Proposing this to 6.3 and moving ON_DEV for verification.
Comment 3 Nikhil Kathole 2017-10-11 11:52:59 EDT

Version Tested:
Satellite-6.3 Snap 19


1. Created role with filters mentioned in comment #2
2. Created user with that role
3. Login with new non-admin user

Found able to create/delete host collection and can see actions tab.But can't edit host collection. We are tracking the issue here :

Comment 4 Nikhil Kathole 2017-10-11 11:55 EDT
Created attachment 1337292 [details]
screenshot of UI with non-admin user
Comment 5 Nikhil Kathole 2017-10-11 11:56 EDT
Created attachment 1337293 [details]
screenshot of UI showing create host collection
Comment 6 Bryan Kearney 2018-02-21 12:11:58 EST
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.