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.
Description of problem:
When logging on with a non admin user with an role with all rights on Activation Key and Host Collections, it is not possible to Add or Remove Host Collections from Activation Keys. The add or remove button is not present.
Version-Release number of selected component (if applicable):
Satellite 6.1
How reproducible:
Always
Steps to Reproduce:
User logged on to Satellite webinterface with:
- No admin rights
- Role assigned with:
- create_activation_keys, edit_activation_keys, destroy_activation_keys, view_activation_keys permissions on Activation Keys
- view_host_collections, create_host_collections, edit_host_collections, destroy_host_collections on Host Collections
- Navigate to: Content --> Activation Keys --> Select existing Activation Key --> TAB Host Collections
- No Add or Remove button is visible to be able to add or remove host collections from the Activation Key,
Actual results:
No add or remove button.
Expected results:
webUI should provide add and remove button for non-admin user.
I tested this under Satellite 6.1.10
Customer tested this under Satellite 6.2.2
--> foreman-1.11.0.53-1.el7sat.noarch
He has also reported that subscriptions are not showing up (which is a more major defect) when using a non-admin role.
When using an admin role, the subscriptions do show.
I'm currently verifying if I'm seeing the situation with roles on my Satellite.
In 6.2.2 I've confirmed that if you add all Roles, or specify a Role with everything, that there isn't a way to view the subscription inside the activation key.
Is it possible to get the missing subscription inside the activation key also resolved.
It looks like the issue raised by comment 10 and 11 has already been addressed by bug 1333219. If it is Ok, we'll keep this one focused on the initial issue raised for host collections.
Verified in Satellite 6.2.5
Create a user with only the required permissions and was able to successfully view/add/remove host collections from the activation key. see attached screenshots
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:2940
Comment 23Stuart Auchterlonie
2016-12-13 23:20:25 UTC
*** Bug 1404474 has been marked as a duplicate of this bug. ***
Description of problem: When logging on with a non admin user with an role with all rights on Activation Key and Host Collections, it is not possible to Add or Remove Host Collections from Activation Keys. The add or remove button is not present. Version-Release number of selected component (if applicable): Satellite 6.1 How reproducible: Always Steps to Reproduce: User logged on to Satellite webinterface with: - No admin rights - Role assigned with: - create_activation_keys, edit_activation_keys, destroy_activation_keys, view_activation_keys permissions on Activation Keys - view_host_collections, create_host_collections, edit_host_collections, destroy_host_collections on Host Collections - Navigate to: Content --> Activation Keys --> Select existing Activation Key --> TAB Host Collections - No Add or Remove button is visible to be able to add or remove host collections from the Activation Key, Actual results: No add or remove button. Expected results: webUI should provide add and remove button for non-admin user.