mirror of https://github.com/apache/cloudstack.git
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:
parent
0652165adb
commit
03bb51014a
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue