Commit c41cc939 authored by Kimia Mirehbar's avatar Kimia Mirehbar Committed by Francesc Guasch
Browse files

editing for grants status

parent 9b182f8e
......@@ -363,6 +363,7 @@ get '/machine/remove_base/(:id).(:type)' => sub {
get '/machine/screenshot/(:id).(:type)' => sub {
my $c = shift;
return access_denied($c) if !$USER->can_screenshot();
return screenshot_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