Commit a4a15f95 by Őry Máté

Merge branch 'issue-287' into 'master'

Issue 287 deny saving pending machine
parents 03825c38 9108e20a
...@@ -525,7 +525,7 @@ class SaveAsTemplateOperation(InstanceOperation): ...@@ -525,7 +525,7 @@ class SaveAsTemplateOperation(InstanceOperation):
"start an instance of it.") "start an instance of it.")
abortable = True abortable = True
required_perms = ('vm.create_template', ) required_perms = ('vm.create_template', )
accept_states = ('RUNNING', 'PENDING', 'STOPPED') accept_states = ('RUNNING', 'STOPPED')
async_queue = "localhost.man.slow" async_queue = "localhost.man.slow"
def is_preferred(self): def is_preferred(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment