No permission to change patron record
- Product: Aleph
- Product Version: 20, 21, 22, 23
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
Description
The message "No permission to change patron record" occurs when trying to update the z303_home_library {in the z303 (Global Patron) record} to a particular sublibrary. (Other sublibraries work OK.)
Resolution
First, if the sublibrary has recently been added to $alephe_tab/tab_sub_library.lng, make sure that the pc_server was restarted after adding it.
Checking in $aleph_root/error_eng, we find that this message is produced by the pc_com_c0121 program:
> grep 'No permission to change patron record' *
...
pc_com_c0121:0012 0000 L No permission to change patron record.
And, looking in the ./pc_com/pc_com_c0121 program, we see that the C0121-ERROR-CODE is set to 12 when a non-zero error is returned by the call to the check_user_auth program.
And that the ./circ/check_user_auth program is checking the ADM library tab100 USER-PERMISSION value and the $alephe_tab/tab100 USER-HOME-PERMISSION value.
If the ADM library tab100 USER-PERMISSION is set to the default value of "0" (No check), then there's no check. (If it's set to "1" or "2", try changing it to "0", as a test.)
If the TAB100-USER-HOME-PERMISSION has been changed from the default value of "N" (No check) to "Y", then comments in the program indicate
* There will be permission only if the
* Z303-HOME-LIBRARY is in the local (xxx50) library
* (via tab_sub_library).
that is, the $alephe_tab/tab_sub_library.lng entry should have the xxx50 ADM library in column 3. But, even if this is the case, as a test, try changing the value to "N" (so that there should be no checking) and restarting the pc_server.
- Article last edited: 16-Aug-2016