Actions
Bug #28210
closedCan edit template inputs of locked template through CLI and API
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Description
Description of problem:
When a template is locked, its inputs can't be edited in WebUI but they can be edited through CLI and API.
Steps to Reproduce:
0. Have some locked template
1. $ hammer template-input create --template-id <id> --input-type user --name <newname>
Template input created
Actual results:
Template input added to the template
Expected results:
I shouldn't be able to edit anything in the template
Additional info:
This is probably because template-input is handled as a different entity than the template itself
Updated by Ondřej Pražák about 5 years ago
- Subject changed from Can edit template inputs of locked template through CLI and API to Can edit template inputs of locked template through CLI and API
- Category changed from Statistics to Templates
- Priority changed from High to Normal
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7977 added
Updated by Anand Agrawal about 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|f70392468ab8e23e5d0d5b2aef2a442408d7e47b.
Updated by Justin Sherrill about 4 years ago
- Related to Bug #30843: seeding fails with 'This template is locked. Please clone it to a new template to customize.' added
Actions