]> git.koha-community.org Git - koha.git/commit
Bug 11807: (follow-up) remove date conversions
authorJoonas Kylmälä <j.kylmala@gmail.com>
Mon, 31 Aug 2015 09:41:34 +0000 (09:41 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Fri, 1 Apr 2016 19:23:42 +0000 (19:23 +0000)
commit85ea73db9d181f9feaf99fa6a94da8a3da570909
tree133c0f7a1a64c95355ffee390123c4cfc13f8239
parentb3311913b3b51faed300af98016c25cbd507fb44
 Bug 11807: (follow-up) remove date conversions

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: Chris <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/Auth_with_ldap.pm