mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 10:15:28 +00:00
VM.Snapshot.Rollback privilege added
VM.Snapshot.Rollback privilege added Signed-off-by: Matthias Urban <matthias.urban@pure-systems.com>
This commit is contained in:
parent
8555b100bb
commit
8ed196a408
@ -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',
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user