mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - VPC - gateways - regular user and domain admin are not allowed to Add Gateway.
This commit is contained in:
parent
7de7b86870
commit
99c28a58f6
|
|
@ -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.',
|
||||
|
|
|
|||
Loading…
Reference in New Issue