Project

General

Profile

Bug #29143

Locked provisioning template should not be allowed to add audit comment

Added by Oleh Fedorenko 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1805678

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.

Associated revisions

Revision 0c647a04 (diff)
Added by Oleh Fedorenko 8 months ago

Fixes #29143 - Lock audit comment for locked templates (#7466)

History

#1 Updated by Oleh Fedorenko 8 months ago

  • Triaged changed from No to Yes
  • Assignee set to Oleh Fedorenko
  • Status changed from New to Assigned
  • Category changed from TFTP to Templates

#2 Updated by The Foreman Bot 8 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7466 added

#3 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases 2.1.0 added

#4 Updated by Oleh Fedorenko 8 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF