bug 14451: cloudstack 3.0 UI - volume page - remove the "Migrate Volume" option for regular user and domain admin. [reviewed-by: Brian]

This commit is contained in:
Jessica Wang 2012-03-22 10:30:34 -07:00
parent 0652165adb
commit 03bb51014a
1 changed files with 4 additions and 2 deletions

View File

@ -1191,8 +1191,10 @@
}
}
else { // Disk not attached
allowedActions.push("remove");
allowedActions.push("migrateToAnotherStorage");
allowedActions.push("remove");
if(isAdmin()) {
allowedActions.push("migrateToAnotherStorage");
}
if (jsonObj.storagetype == "shared") {
allowedActions.push("attachDisk");
}