浏览代码

HPCC-8461 Configmgr - Fix filesBasedn of Dali and ESP to match LDAP

- Hide filesBasedn field in Dali component
- Hide filesBasedn field in esp services
- Automatically propogate changes to filesBasedn value in the LDAP
  component

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Gleb Aronsky 12 年之前
父节点
当前提交
5fb7e5cfa3

+ 2 - 2
esp/files/scripts/configmgr/configmgr.js

@@ -924,12 +924,12 @@ function handleConfigCellClickEvent(oArgs, caller, isComplex) {
 
     if ((record.getData('compType') == 'EspProcess' || record.getData('compType') == "DaliServerProcess") && (record.getData('params').indexOf('subType=EspBinding') != -1 || record.getData('_key') == "ldapServer") && (typeof(column.field) !== 'undefined' && (column.field == 'service' || column.field == 'value')))
     {
-      bUpdateFilesBasedn = confirm("If available, proceed with update of filesBasedn value?\n\n(If you are unsure select 'Ok')");
+      bUpdateFilesBasedn = true;
       if (column.field == 'service')
         refreshConfirm = false;
     }
     else if (record.getData('compType') == 'LDAPServerProcess' && record.getData('name') == 'filesBasedn')
-      bUpdateFilesBasedn = confirm("If available, proceed with update of filesBasedn value in dependent components?\n\n(If you are unsure select 'Ok')");
+      bUpdateFilesBasedn = true;
     else
       bUpdateFilesBasedn = false;
 

+ 1 - 1
initfiles/componentfiles/configxml/dali.xsd

@@ -330,7 +330,7 @@
     <xs:attribute name="filesBasedn" type="xs:string" use="required" default="ou=Files,ou=ecl">
       <xs:annotation>
         <xs:appinfo>
-          <tooltip>base location for ldap file scopes</tooltip>
+          <viewType>hidden</viewType>
         </xs:appinfo>
       </xs:annotation>
     </xs:attribute>

+ 1 - 1
initfiles/componentfiles/configxml/espsmcservice.xsd.in

@@ -65,7 +65,7 @@
             <xs:attribute name="filesBasedn" type="xs:string" use="optional" default="ou=Files,ou=ecl">
                 <xs:annotation>
                     <xs:appinfo>
-                        <tooltip>base location for ldap file scopes</tooltip>
+                        <viewType>hidden</viewType>
                     </xs:appinfo>
                 </xs:annotation>
             </xs:attribute>