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.
Created attachment 1136564[details]
role_filters
Description of problem:
Defined a Role which allows user to Edit host information (organization, host group, etc...).
On "Parameters" tab, the user cannot edit or add parameter, but he can Remove Host parameters.
Version-Release number of selected component (if applicable):
Satellite 6.1.7
How reproducible:
100%
Steps to Reproduce:
1. Defined a Role which allows user to Edit host information (organization, host group, etc...).
2. Go to a host and go to the "Parameters" tab, the user cannot edit or add parameter, but he can Remove Host parameters.
Actual results:
Able to remove a parameter from a host.
Expected results:
Deny removing parameter and remove the "Remove parameter" button from the page
Additional info:
Comment #5 confirmed on satellite-6.2.3-1.0, not possible to delete, however I wonder why display the "remove" string (see attachment) if it can't do anything? I suppose empty space under Actions would be more user-friendly.
Peter, we tend to display actions that are not allowed so it's less confusing for user why sometimes see the link and sometimes now (e.g. if in one table they can see 2 params but can only delete one of them because of granular filter). If user does not have destroy permission for any parameter, the "destroy" is hidden for all of them. In this case it might be more confusing so if you feel this is a bug, we can probably hide it completely. Since this is already ON_QA, I'd suggest reporting a new BZ for that.
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:2108
Created attachment 1136564 [details] role_filters Description of problem: Defined a Role which allows user to Edit host information (organization, host group, etc...). On "Parameters" tab, the user cannot edit or add parameter, but he can Remove Host parameters. Version-Release number of selected component (if applicable): Satellite 6.1.7 How reproducible: 100% Steps to Reproduce: 1. Defined a Role which allows user to Edit host information (organization, host group, etc...). 2. Go to a host and go to the "Parameters" tab, the user cannot edit or add parameter, but he can Remove Host parameters. Actual results: Able to remove a parameter from a host. Expected results: Deny removing parameter and remove the "Remove parameter" button from the page Additional info: