Merge pull request #1595 from shapeblue/ui-resize-show-allusers ui: show resize volume button to all users
The resize volume is support on all major hypervisors (Xen, VMware, KVM). The hypervisor key is returned by the list volumes response only for admins but not for users or domain admin users. This removes the check, as the operation is supported on all major hypervisors that CloudStack supports. With this bug fix all users would see resize volume button in the UI. /cc @swill * pr/1595: ui: show resize volume button to all users Signed-off-by: Will Stevens <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a38279de Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a38279de Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a38279de Branch: refs/heads/4.9-bountycastle-daan Commit: a38279de6a220eec726174130ae113c0c467b26d Parents: c806f3d b68ae19 Author: Will Stevens <[email protected]> Authored: Mon Jul 18 14:09:17 2016 -0400 Committer: Will Stevens <[email protected]> Committed: Mon Jul 18 14:09:18 2016 -0400 ---------------------------------------------------------------------- ui/scripts/storage.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ----------------------------------------------------------------------
