Commit f6f09143 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#449] copy permission does not exist

parent 432e0022
......@@ -438,8 +438,7 @@ get '/machine/rename/#id/#value' => sub {
any '/machine/copy' => sub {
my $c = shift;
return access_denied($c) if !$USER -> can_copy();
# return access_denied($c) if !$USER -> can_clone_all();
return access_denied($c) if !$USER -> can_clone_all();
return copy_machine($c);
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment