View | Details | Raw Unified | Return to bug 16447
Collapse All | Expand All

(-)a/basket/sendbasket.pl (-1 / +1 lines)
Lines 59-65 if ( $email_add ) { Link Here
59
            query           => $query,
59
            query           => $query,
60
            type            => "intranet",
60
            type            => "intranet",
61
            authnotrequired => 0,
61
            authnotrequired => 0,
62
            flagsrequired   => { borrow => 1 },
62
            flagsrequired   => { catalogue => 1 },
63
        }
63
        }
64
    );
64
    );
65
65
(-)a/edithelp.pl (-1 lines)
Lines 52-58 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
52
            borrowers        => 1,
52
            borrowers        => 1,
53
            permissions      => 1,
53
            permissions      => 1,
54
            reserveforothers => 1,
54
            reserveforothers => 1,
55
            borrow           => 1,
56
            reserveforself   => 1,
55
            reserveforself   => 1,
57
            editcatalogue    => 1,
56
            editcatalogue    => 1,
58
            updatecharges    => 1,
57
            updatecharges    => 1,
(-)a/opac/opac-idref.pl (-1 lines)
Lines 37-43 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
37
        query           => $cgi,
37
        query           => $cgi,
38
        type            => "opac",
38
        type            => "opac",
39
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
39
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
40
        flagsrequired   => { borrow => 1 },
41
    }
40
    }
42
);
41
);
43
42
(-)a/opac/opac-news-rss.pl (-1 lines)
Lines 34-40 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
34
        type            => "opac",
34
        type            => "opac",
35
        query           => $input,
35
        query           => $input,
36
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
36
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
37
        flagsrequired   => { borrow => 1 },
38
    }
37
    }
39
);
38
);
40
39
(-)a/opac/opac-restrictedpage.pl (-1 lines)
Lines 40-46 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
40
        query           => $query,
40
        query           => $query,
41
        type            => "opac",
41
        type            => "opac",
42
        authnotrequired => $withinNetwork,
42
        authnotrequired => $withinNetwork,
43
        flagsrequired   => { borrow => 1 },
44
        debug           => 1,
43
        debug           => 1,
45
    }
44
    }
46
);
45
);
(-)a/opac/svc/login (-1 / +1 lines)
Lines 43-49 if ( $response->is_success ) { Link Here
43
    my $content      = $response->decoded_content();
43
    my $content      = $response->decoded_content();
44
    my $decoded_json = decode_json($content);
44
    my $decoded_json = decode_json($content);
45
    my ( $userid, $cookie, $sessionID ) =
45
    my ( $userid, $cookie, $sessionID ) =
46
      checkauth( $query, 1,  { borrow => 1 }, 'opac', $decoded_json->{'email'} );
46
      checkauth( $query, 1,  {}, 'opac', $decoded_json->{'email'} );
47
    if ($userid) { # a valid user has logged in
47
    if ($userid) { # a valid user has logged in
48
        print $query->header( -cookie => $cookie );
48
        print $query->header( -cookie => $cookie );
49
        print $decoded_json;
49
        print $decoded_json;
(-)a/t/db_dependent/Auth.t (-2 / +1 lines)
Lines 37-43 $dbh->{RaiseError} = 1; Link Here
37
        # we don't need to bother about permissions for this test
37
        # we don't need to bother about permissions for this test
38
        my $flags = {
38
        my $flags = {
39
            superlibrarian    => 1, acquisition       => 0,
39
            superlibrarian    => 1, acquisition       => 0,
40
            borrow            => 0, borrowers         => 0,
40
            borrowers         => 0,
41
            catalogue         => 1, circulate         => 0,
41
            catalogue         => 1, circulate         => 0,
42
            coursereserves    => 0, editauthorities   => 0,
42
            coursereserves    => 0, editauthorities   => 0,
43
            editcatalogue     => 0, management        => 0,
43
            editcatalogue     => 0, management        => 0,
44
- 

Return to bug 16447