JBAS-1415 Apply net_access_level in self-reg
authorBill Erickson <berickxx@gmail.com>
Wed, 25 May 2016 15:21:24 +0000 (11:21 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
commit3800e1939600168bb763b661fda5fd358ea8948c
tree99756083faa9818735d1050f25949197c046efdd
parentfc0d2b6fd47077232ecfd722d8fc59eb925df7d6
JBAS-1415 Apply net_access_level in self-reg

During self-registration, if a patron is less than 17 years old, apply
the "Under 17 Plus" net_access_level to the staged user.  If the patron
is 17 or older, apply "17 and Up Only".

It shouldn't happen in practice since we require a DoB, but if no DoB is
present, no net_access_level value is applied.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Register.pm