mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #2151: Remove role vm action (chown, chirp, deploy, migrate, migrate_live)
(cherry picked from commit ebb46f8d064432c8033b939fd6cc023054d13d39)
This commit is contained in:
parent
545b132c33
commit
b196b48785
@ -373,11 +373,6 @@ tabs:
|
||||
Role.shutdown_hard: true
|
||||
Role.delete: true
|
||||
Role.delete_recreate: true
|
||||
RoleVM.chown: true
|
||||
RoleVM.chgrp: true
|
||||
RoleVM.deploy: true
|
||||
RoleVM.migrate: true
|
||||
RoleVM.migrate_live: true
|
||||
RoleVM.hold: true
|
||||
RoleVM.release: true
|
||||
RoleVM.suspend: true
|
||||
|
@ -374,11 +374,6 @@ tabs:
|
||||
Role.shutdown_hard: true
|
||||
Role.delete: true
|
||||
Role.delete_recreate: true
|
||||
RoleVM.chown: false
|
||||
RoleVM.chgrp: false
|
||||
RoleVM.deploy: false
|
||||
RoleVM.migrate: false
|
||||
RoleVM.migrate_live: false
|
||||
RoleVM.hold: true
|
||||
RoleVM.release: true
|
||||
RoleVM.suspend: true
|
||||
|
@ -375,11 +375,6 @@ tabs:
|
||||
Role.shutdown_hard: true
|
||||
Role.delete: true
|
||||
Role.delete_recreate: true
|
||||
RoleVM.chown: false
|
||||
RoleVM.chgrp: false
|
||||
RoleVM.deploy: false
|
||||
RoleVM.migrate: false
|
||||
RoleVM.migrate_live: false
|
||||
RoleVM.hold: true
|
||||
RoleVM.release: true
|
||||
RoleVM.suspend: true
|
||||
|
@ -376,11 +376,6 @@ tabs:
|
||||
Role.shutdown_hard: true
|
||||
Role.delete: true
|
||||
Role.delete_recreate: true
|
||||
RoleVM.chown: false
|
||||
RoleVM.chgrp: false
|
||||
RoleVM.deploy: false
|
||||
RoleVM.migrate: false
|
||||
RoleVM.migrate_live: false
|
||||
RoleVM.hold: true
|
||||
RoleVM.release: true
|
||||
RoleVM.suspend: true
|
||||
|
@ -768,48 +768,48 @@ var role_buttons = {
|
||||
|
||||
|
||||
var role_vm_buttons = {
|
||||
"RoleVM.chown" : {
|
||||
type: "confirm_with_select",
|
||||
text: tr("Change owner"),
|
||||
select: users_sel,
|
||||
layout: "user_select",
|
||||
tip: tr("Select the new owner")+":",
|
||||
condition: mustBeAdmin
|
||||
},
|
||||
|
||||
"RoleVM.chgrp" : {
|
||||
type: "confirm_with_select",
|
||||
text: tr("Change group"),
|
||||
select: groups_sel,
|
||||
layout: "user_select",
|
||||
tip: tr("Select the new group")+":",
|
||||
condition: mustBeAdmin
|
||||
},
|
||||
"RoleVM.deploy" : {
|
||||
type: "confirm_with_select",
|
||||
text: tr("Deploy"),
|
||||
tip: tr("This will deploy the selected VMs on the chosen host"),
|
||||
layout: "vmsplanification_buttons",
|
||||
select: hosts_sel,
|
||||
condition: mustBeAdmin
|
||||
},
|
||||
"RoleVM.migrate" : {
|
||||
type: "confirm_with_select",
|
||||
text: tr("Migrate"),
|
||||
tip: tr("This will migrate the selected VMs to the chosen host"),
|
||||
layout: "vmsplanification_buttons",
|
||||
select: hosts_sel,
|
||||
condition: mustBeAdmin
|
||||
|
||||
},
|
||||
"RoleVM.migrate_live" : {
|
||||
type: "confirm_with_select",
|
||||
text: tr("Migrate") + ' <span class="label secondary radius">live</span>',
|
||||
tip: tr("This will live-migrate the selected VMs to the chosen host"),
|
||||
layout: "vmsplanification_buttons",
|
||||
select: hosts_sel,
|
||||
condition: mustBeAdmin
|
||||
},
|
||||
// "RoleVM.chown" : {
|
||||
// type: "confirm_with_select",
|
||||
// text: tr("Change owner"),
|
||||
// select: users_sel,
|
||||
// layout: "user_select",
|
||||
// tip: tr("Select the new owner")+":",
|
||||
// condition: mustBeAdmin
|
||||
// },
|
||||
//
|
||||
// "RoleVM.chgrp" : {
|
||||
// type: "confirm_with_select",
|
||||
// text: tr("Change group"),
|
||||
// select: groups_sel,
|
||||
// layout: "user_select",
|
||||
// tip: tr("Select the new group")+":",
|
||||
// condition: mustBeAdmin
|
||||
// },
|
||||
// "RoleVM.deploy" : {
|
||||
// type: "confirm_with_select",
|
||||
// text: tr("Deploy"),
|
||||
// tip: tr("This will deploy the selected VMs on the chosen host"),
|
||||
// layout: "vmsplanification_buttons",
|
||||
// select: hosts_sel,
|
||||
// condition: mustBeAdmin
|
||||
// },
|
||||
// "RoleVM.migrate" : {
|
||||
// type: "confirm_with_select",
|
||||
// text: tr("Migrate"),
|
||||
// tip: tr("This will migrate the selected VMs to the chosen host"),
|
||||
// layout: "vmsplanification_buttons",
|
||||
// select: hosts_sel,
|
||||
// condition: mustBeAdmin
|
||||
//
|
||||
// },
|
||||
// "RoleVM.migrate_live" : {
|
||||
// type: "confirm_with_select",
|
||||
// text: tr("Migrate") + ' <span class="label secondary radius">live</span>',
|
||||
// tip: tr("This will live-migrate the selected VMs to the chosen host"),
|
||||
// layout: "vmsplanification_buttons",
|
||||
// select: hosts_sel,
|
||||
// condition: mustBeAdmin
|
||||
// },
|
||||
"RoleVM.hold" : {
|
||||
type: "action",
|
||||
text: tr("Hold"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user