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.
Updated by Oleh Fedorenko almost 5 years ago
- Category changed from TFTP to Templates
- Status changed from New to Assigned
- Assignee set to Oleh Fedorenko
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7466 added
Updated by Oleh Fedorenko almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 0c647a041fdb448fa6c066c2e7e289c6b97462a5.