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 2181595 - Internal user with the role 'Ansible Roles Manager' could not able to edit/override the ansible variable
Summary: Internal user with the role 'Ansible Roles Manager' could not able to edit/ov...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible - Configuration Management
Version: 6.12.0
Hardware: All
OS: All
medium
medium
Target Milestone: 6.15.0
Assignee: nalfassi
QA Contact: addubey
Zuzana Lena Ansorgova
URL:
Whiteboard:
: 2210309 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-24 16:45 UTC by afrid shaikh
Modified: 2024-04-23 17:14 UTC (History)
13 users (show)

Fixed In Version: rubygem-foreman_ansible-13.0.0
Doc Type: Bug Fix
Doc Text:
.Non-admin users can override Ansible variables Previously, Satellite users other than the System Administrator could not override Ansible variables even when they were assigned the Ansible Roles Manager user role. With this release, permissions have been corrected and non-admin users can override Ansible variables.
Clone Of:
Environment:
Last Closed: 2024-04-23 17:14:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
PFA (214.95 KB, image/png)
2023-03-24 16:45 UTC, afrid shaikh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36273 0 Normal New Internal user with the role 'Ansible Roles Manager' could not able to edit/override the ansible variable 2023-04-04 07:55:05 UTC
Github theforeman foreman_ansible pull 633 0 None open Fixes #36273 - Use proper permission for editing a variable 2023-05-29 07:02:02 UTC
Red Hat Issue Tracker SAT-19619 0 None None None 2023-09-06 21:39:53 UTC
Red Hat Knowledge Base (Solution) 7015370 0 None None None 2023-05-28 15:34:13 UTC
Red Hat Product Errata RHSA-2024:2010 0 None None None 2024-04-23 17:14:03 UTC

Description afrid shaikh 2023-03-24 16:45:13 UTC
Created attachment 1953410 [details]
PFA

Description of problem:
ON the Satellite Web-UI. internal user with the role 'Ansible Roles Manager' could not able to edit/override the ansible variable
ansible variable is showing grayed out and cannot be overridden. 
If you are an "Organization Administrator", the variable is not grayed out and the variable value can be overridden.

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

How reproducible:
created a local satellite user, and provided the ansible role manager.
as a user when we tried to log in, we can not able to edit/override the ansible variable. we have the option for creating a variable and deleting it only.

Steps to Reproduce:
1. create an internal satellite user.
2. provide an Ansible Roles Manager role to the user
3. login and try to edit the ansible variable. it would be greyed out.

Actual results:
As a local user, the ansible variable is greyed out and could not able to modify

Expected results: 
As a local user with Ansible Roles Manager, should have access to edit the ansible variable.

Additional info:

Comment 1 nalfassi 2023-04-04 07:55:03 UTC
Created redmine issue https://projects.theforeman.org/issues/36273 from this bug

Comment 2 nalfassi 2023-05-28 15:34:14 UTC
*** Bug 2210309 has been marked as a duplicate of this bug. ***

Comment 6 Brad Buckingham 2023-10-30 11:29:29 UTC
Bulk setting Target Milestone = 6.15.0 where sat-6.15.0+ is set.

Comment 7 Bryan Kearney 2023-11-06 20:02:27 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36273 has been resolved.

Comment 15 errata-xmlrpc 2024-04-23 17:14:00 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 (Important: Satellite 6.15.0 release), 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-2024:2010


Note You need to log in before you can comment on or make changes to this bug.