mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2175: Add private Gateway can aonly be done by root or domain admin but not by normal user
This commit is contained in:
parent
38071e63d2
commit
58648c4b53
|
|
@ -737,6 +737,12 @@
|
|||
actions:{
|
||||
add:{
|
||||
label:'Add Private Gateway',
|
||||
preFilter: function(args) {
|
||||
if(isAdmin() || isDomainAdmin() )
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
},
|
||||
createForm:{
|
||||
title: 'label.add.new.gateway',
|
||||
desc: 'message.add.new.gateway.to.vpc',
|
||||
|
|
|
|||
Loading…
Reference in New Issue