mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-18 11:34:23 +01:00
cloudstack 3.0 new UI - create user - domain admin and regular user are not allowed to create user.
This commit is contained in:
parent
89628cae5c
commit
28704eb8a1
@ -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?';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user