Project

General

Profile

Actions

Bug #30317

closed

Locked provisioning template should not be allowed to add audit comment

Added by Ondřej Pražák almost 4 years ago. Updated over 3 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1815104

The bug is completely identical to:

https://bugzilla.redhat.com/show_bug.cgi?id=1805678

but for API (and possibly CLI).

Steps to Reproduce:

1. use API or Hammer to update a locked template and add a comment to it

Actual results:

notice the update is updated audit record regarding created audit comment is created

Expected results:

Error message should be retrieved saying that user is unable to update locked templates.

Actions #1

Updated by Ondřej Pražák almost 4 years ago

  • Assignee set to Ondřej Pražák
  • Subject changed from Locked provisioning template should not be allowed to add audit comment to Locked provisioning template should not be allowed to add audit comment
  • Category changed from TFTP to Templates
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/7798 added
Actions #3

Updated by The Foreman Bot almost 4 years ago

  • Fixed in Releases 2.2.0 added
Actions #4

Updated by Ondřej Pražák almost 4 years ago

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

Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/7975 added
Actions

Also available in: Atom PDF