mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7463: UI: Domain Admin UI shows 'Add LDAP Users' button (should not be shown)
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
(cherry picked from commit c200ada863)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Conflicts:
ui/scripts/accounts.js
This commit is contained in:
parent
dc80b25361
commit
898b2e700e
|
|
@ -97,7 +97,8 @@
|
|||
label: 'Add LDAP Account',
|
||||
isHeader: true,
|
||||
preFilter: function(args) {
|
||||
if ((isAdmin() || isDomainAdmin()) && isLdapEnabled()) {
|
||||
//if (isAdmin() && true) { //for testing only
|
||||
if (isAdmin() && isLdapEnabled()) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue