mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CP-15408: Add license restriction for VM migration
Cherry picked from cream-indigo: CP-14848: License restriction for migration for DragDropMigrateVMCommand Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
This commit is contained in:
parent
0bf44398df
commit
4a1a9914d6
@ -168,6 +168,11 @@ namespace XenAdmin.Commands
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Helpers.FeatureForbidden(draggedVM.Connection, Host.RestrictInterPoolMigrate))
|
||||
return false;
|
||||
}
|
||||
|
||||
if (draggedVM.allowed_operations == null || !draggedVM.allowed_operations.Contains(vm_operations.pool_migrate))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user