Bug 20284: (QA follow-up) superlibrarian has ill permissions
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 4 May 2018 15:26:39 +0000 (12:26 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 7 May 2018 14:55:01 +0000 (11:55 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Auth.pm

index 00dedcb..7442b1d 100644 (file)
@@ -313,6 +313,7 @@ sub get_template_and_user {
             $template->param( CAN_user_plugins          => 1 );
             $template->param( CAN_user_coursereserves   => 1 );
             $template->param( CAN_user_clubs            => 1 );
+            $template->param( CAN_user_ill              => 1 );
 
             foreach my $module ( keys %$all_perms ) {
                 foreach my $subperm ( keys %{ $all_perms->{$module} } ) {