cloudstack 3.0 new UI - create user - domain admin and regular user are not allowed to create user.

This commit is contained in:
Jessica Wang 2012-01-09 16:16:37 -08:00
parent 89628cae5c
commit 28704eb8a1

View File

@ -614,6 +614,13 @@
add: {
label: 'Create user',
preFilter: function(args) {
if(isAdmin())
return true;
else
return false;
},
messages: {
confirm: function(args) {
return 'Are you sure you want to create an user?';