cloudstack 3.0 UI - VPC - gateways - regular user and domain admin are not allowed to Add Gateway.

This commit is contained in:
Jessica Wang 2012-07-11 16:26:57 -07:00
parent 7de7b86870
commit 99c28a58f6
1 changed files with 7 additions and 1 deletions

View File

@ -433,7 +433,13 @@
},
actions: {
add: {
label: 'Add new gateway',
label: 'Add new gateway',
preFilter: function(args) {
if(isAdmin())
return true;
else
return false;
},
createForm: {
title: 'Add new gateway',
desc: 'Please specify the information to add a new gateway to this VPC.',