Commit 9403d6b0 authored by Francesc Guasch's avatar Francesc Guasch Committed by Francesc Guasch
Browse files

[#231] allow access to admin to the operators

parent 50d05288
......@@ -203,7 +203,8 @@ any '/admin/(#type)' => sub {
return admin($c) if $c->stash('type') eq 'machines'
&& $USER->is_operator;
return access_denied($c) if !$USER->is_admin;
return access_denied($c) if !$USER->is_operator;
return admin($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