From b2ff7223b795f138d74606becc8ccb6b7c1e305d 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 Signed-off-by: Nick Clemens --- C4/Auth.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Auth.pm b/C4/Auth.pm index ddcaf1a81b..2435e734d3 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -316,6 +316,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.39.5