|
Lines 248-254
sub get_template_and_user {
Link Here
|
| 248 |
# If the user logged in is the SCI user and they try to go out of the SCI module, |
248 |
# If the user logged in is the SCI user and they try to go out of the SCI module, |
| 249 |
# kick them out unless it is SCO with a valid permission |
249 |
# kick them out unless it is SCO with a valid permission |
| 250 |
# or they are a superlibrarian |
250 |
# or they are a superlibrarian |
| 251 |
$in->{template_name} !~ m|sci/| |
251 |
$in->{template_name} !~ m|sci/| && $in->{template_name} !~ m|errors/errorpage.tt| |
| 252 |
&& haspermission( $user, { self_check => 'self_checkin_module' } ) |
252 |
&& haspermission( $user, { self_check => 'self_checkin_module' } ) |
| 253 |
&& !( |
253 |
&& !( |
| 254 |
$in->{template_name} =~ m|sco/| && haspermission( |
254 |
$in->{template_name} =~ m|sco/| && haspermission( |
| 255 |
- |
|
|