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