Skip to content
  • Joonas Kylmälä's avatar
    Bug 11807: (follow-up) remove date conversions · 85ea73db
    Joonas Kylmälä authored
    
    
    To test
    
    1/ Apply both patches
    
    2/ This patch lets you easily configure mappings for categorycode values.
    These mapping will be used when updating the user's account after a successful LDAP login.
    
    Here is an example configuration :
    
    <config>
      <ldapserver id="ldapserver>
        <mapping>
          <categorycode is="usertype">STU</categorycode>
          ...
        </mapping>
    
        <categorycode_mapping>
          <categorycode value="STU">STUDENT</categorycode>
          <categorycode value="EMP">EMPLOYEE</categorycode>
        </categorycode_mapping>
      </ldapserver>
    </config>
    
    3/ With this configuration, LDAP users with the usertype value "EMP" on the LDAP server should have the "EMPLOYEE" categorycode in Koha.
    
    Signed-off-by: default avatarChris <chris@bigballofwax.co.nz>
    Signed-off-by: Martin Renvoize's avatarMartin Renvoize <martin.renvoize@ptfs-europe.com>
    
    Signed-off-by: default avatarBrendan A Gallagher <brendan@bywatersolutions.com>
    85ea73db