From 8ed196a40828dac497646563f711d142c6b12fd1 Mon Sep 17 00:00:00 2001 From: Matthias Urban Date: Wed, 13 Sep 2017 12:30:34 +0200 Subject: [PATCH] VM.Snapshot.Rollback privilege added VM.Snapshot.Rollback privilege added Signed-off-by: Matthias Urban --- www/manager6/lxc/Config.js | 2 +- www/manager6/qemu/Config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/manager6/lxc/Config.js b/www/manager6/lxc/Config.js index fbaccefe..12a4b12d 100644 --- a/www/manager6/lxc/Config.js +++ b/www/manager6/lxc/Config.js @@ -200,7 +200,7 @@ Ext.define('PVE.lxc.Config', { }); } - if (caps.vms['VM.Snapshot']) { + if (caps.vms['VM.Snapshot'] || caps.vms['VM.Snapshot.Rollback']) { me.items.push({ title: gettext('Snapshots'), iconCls: 'fa fa-history', diff --git a/www/manager6/qemu/Config.js b/www/manager6/qemu/Config.js index 75454d8e..31cab970 100644 --- a/www/manager6/qemu/Config.js +++ b/www/manager6/qemu/Config.js @@ -234,7 +234,7 @@ Ext.define('PVE.qemu.Config', { }); } - if (caps.vms['VM.Snapshot'] && !template) { + if ((caps.vms['VM.Snapshot'] || caps.vms['VM.Snapshot.Rollback']) && !template) { me.items.push({ title: gettext('Snapshots'), iconCls: 'fa fa-history',