Project

General

Profile

Actions

Bug #28210

closed

Can edit template inputs of locked template through CLI and API

Added by Ondřej Pražák over 4 years ago. Updated over 3 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 #1

Updated by Ondřej Pražák over 4 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
Actions #2

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7977 added
Actions #3

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.3.0 added
Actions #4

Updated by Anand Agrawal over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Justin Sherrill over 3 years ago

  • Related to Bug #30843: seeding fails with 'This template is locked. Please clone it to a new template to customize.' added
Actions

Also available in: Atom PDF