Project

General

Profile

Actions

Bug #28210

closed

Can edit template inputs of locked template through CLI and API

Added by Ondřej Pražák about 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #30843: seeding fails with 'This template is locked. Please clone it to a new template to customize.'ClosedJustin SherrillActions
Actions

Also available in: Atom PDF