From 057f05f96f7636e2940d4457bb3ce78f8035ba4a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 5 Oct 2018 09:44:15 -0300 Subject: [PATCH] Bug 11897: 'superlibrarian' has 'stockrotation' perms Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- C4/Auth.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Auth.pm b/C4/Auth.pm index 7d330b57bc..5a37d04f9e 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -329,6 +329,7 @@ sub get_template_and_user { $template->param( CAN_user_coursereserves => 1 ); $template->param( CAN_user_clubs => 1 ); $template->param( CAN_user_ill => 1 ); + $template->param( CAN_user_stockrotation => 1 ); foreach my $module ( keys %$all_perms ) { foreach my $subperm ( keys %{ $all_perms->{$module} } ) { -- 2.19.0