mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-20 12:33:53 +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: {
|
add: {
|
||||||
label: 'Create user',
|
label: 'Create user',
|
||||||
|
|
||||||
|
preFilter: function(args) {
|
||||||
|
if(isAdmin())
|
||||||
|
return true;
|
||||||
|
else
|
||||||
|
return false;
|
||||||
|
},
|
||||||
|
|
||||||
messages: {
|
messages: {
|
||||||
confirm: function(args) {
|
confirm: function(args) {
|
||||||
return 'Are you sure you want to create an user?';
|
return 'Are you sure you want to create an user?';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user