mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
B #1490: Checked if owner has permissions for manage the template
This commit is contained in:
parent
700f544439
commit
d985a2ca5c
@ -169,7 +169,7 @@ define(function(require) {
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.isTabActionEnabled("provision-tab", "Template.delete")) {
|
||||
if (Config.isTabActionEnabled("provision-tab", "Template.delete") && data["PERMISSIONS"]["OWNER_M"] === "1") {
|
||||
actions_html += '<a class="provision_confirm_delete_template_button" title="'+ Locale.tr("Delete")+'" href="#"><i class="fa fa-fw fa-lg fa-trash-o only-on-hover"/></a>';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user