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 1320065

Summary: Multiple host action buttons use incorrect permissions for display
Product: Red Hat Satellite Reporter: Tomer Brisker <tbrisker>
Component: Users & RolesAssignee: Tomer Brisker <tbrisker>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: bbuckingham, jcallaha, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14310
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:08:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomer Brisker 2016-03-22 09:14:02 UTC
Currently, the multiples host action button dropdown will display all actions to any user with the `edit_hosts` or `destroy_hosts` permission.
In addition, the `New Host` button will not display for users with only the `create_hosts` permission.

Comment 1 Tomer Brisker 2016-03-22 09:14:05 UTC
Created from redmine issue http://projects.theforeman.org/issues/14310

Comment 2 Tomer Brisker 2016-03-22 09:14:09 UTC
Upstream bug assigned to tbrisker

Comment 4 Bryan Kearney 2016-03-24 16:09:42 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14310 has been closed
-------------
Anonymous
Applied in changeset commit:29c5556a341f0f26ed701d92a6a2ea0203e8e533.

Comment 5 jcallaha 2016-06-16 17:51:52 UTC

Difference between Administrator tasks that a user with 'Edit Host' roles doesn't have.
Change Puppet Master
Change Puppet CA
Change Power State

There are no more create or destroy hosts permissions. However, a user with 'Edit Host' permissions is able to create and delete hosts.

If you want to further limit the actions a user can take against a host, use the 'View Hosts' role. That only leaves the following actions.
Assign Compliance Policy
Unassign Compliance Policy
Run Job

Comment 6 Bryan Kearney 2016-07-27 11:08:59 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/RHBA-2016:1501