Bug #29143
closedLocked provisioning template should not be allowed to add audit comment
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.