diff --git a/dashboard/src/views/volumes.js b/dashboard/src/views/volumes.js index 665b762ad..89b157e7c 100644 --- a/dashboard/src/views/volumes.js +++ b/dashboard/src/views/volumes.js @@ -5,7 +5,7 @@ /* global async */ angular.module('Application').controller('VolumesController', ['$scope', '$location', '$timeout', 'Client', function ($scope, $location, $timeout, Client) { - Client.onReady(function () { if (!Client.getUserInfo().isAtLeastUserManager) $location.path('/'); }); + Client.onReady(function () { if (!Client.getUserInfo().isAtLeastAdmin) $location.path('/'); }); var refreshVolumesTimerId = null;