Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1460130

Summary: Non-admin has all roles but can't create or use host collections
Product: Red Hat Satellite 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: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 17:11:58 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
screenshot of UI with non-admin user
none
screenshot of UI showing create host collection none

Description anerurka 2017-06-09 08:13:26 UTC
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):

v.6.2.9

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 19:58:25 UTC
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 15:52:59 UTC
VERIFIED

Version Tested:
Satellite-6.3 Snap 19

steps:

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 :

https://bugzilla.redhat.com/show_bug.cgi?id=1497073

Comment 4 Nikhil Kathole 2017-10-11 15:55:11 UTC
Created attachment 1337292 [details]
screenshot of UI with non-admin user

Comment 5 Nikhil Kathole 2017-10-11 15:56:07 UTC
Created attachment 1337293 [details]
screenshot of UI showing create host collection

Comment 6 Bryan Kearney 2018-02-21 17:11:58 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-2018:0336