Lines 204-210
sub get_template_and_user {
Link Here
|
204 |
# If the user logged in is the SCI user and they try to go out of the SCI module, |
204 |
# If the user logged in is the SCI user and they try to go out of the SCI module, |
205 |
# kick them out unless it is SCO with a valid permission |
205 |
# kick them out unless it is SCO with a valid permission |
206 |
# or they are a superlibrarian |
206 |
# or they are a superlibrarian |
207 |
$in->{template_name} !~ m|sci/| |
207 |
$in->{template_name} !~ m|sci/| && $in->{template_name} !~ m|errors/errorpage.tt| |
208 |
&& haspermission( $user, { self_check => 'self_checkin_module' } ) |
208 |
&& haspermission( $user, { self_check => 'self_checkin_module' } ) |
209 |
&& !( |
209 |
&& !( |
210 |
$in->{template_name} =~ m|sco/| && haspermission( |
210 |
$in->{template_name} =~ m|sco/| && haspermission( |
211 |
- |
|
|