Project

General

Profile

Actions

Bug #30317

closed

Locked provisioning template should not be allowed to add audit comment

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

Also available in: Atom PDF