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 1805678 - Locked provisioning template should not be allowed to add audit comment
Summary: Locked provisioning template should not be allowed to add audit comment
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning Templates
Version: 6.7.0
Hardware: All
OS: All
medium
medium
Target Milestone: 6.7.0
Assignee: Oleh Fedorenko
QA Contact: Roman Plevka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-21 11:15 UTC by Anand Agrawal
Modified: 2020-04-14 13:38 UTC (History)
3 users (show)

Fixed In Version: foreman-1.24.1.16-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-14 13:38:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29143 0 Normal Closed Locked provisioning template should not be allowed to add audit comment 2020-09-09 08:21:00 UTC

Description Anand Agrawal 2020-02-21 11:15:39 UTC
Description of problem:

GoTo Hosts -> Provisioning Template -> Select/Click a provisioning template (Locked) -> Add audit comment. This is successful. It should not allow to add the audit comment on the locked template.

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

How reproducible:
Always

Steps to Reproduce:
1. GoTo Hosts -> Provisioning Template 
2. Select/Click a provisioning template (Locked) 
3. Add audit comment

Actual results:
Successfully updated template name

Expected results:
Unable to save
This template is locked. Please clone it to a new template to customize.

Additional info:

This is working as expected in case of report template with a similar feature. 

However, a suggestion is to disable the "Audit Comment" textbox if the template is locked.

Comment 3 Oleh Fedorenko 2020-02-24 15:37:52 UTC
Created redmine issue https://projects.theforeman.org/issues/29143 from this bug

Comment 4 Bryan Kearney 2020-02-24 17:03:27 UTC
Upstream bug assigned to ofedoren

Comment 5 Bryan Kearney 2020-02-24 17:03:29 UTC
Upstream bug assigned to ofedoren

Comment 6 Bryan Kearney 2020-03-09 12:03:37 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/29143 has been resolved.

Comment 12 Bryan Kearney 2020-04-14 13:38:41 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-2020:1454


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