Lines 319-335
sub get_template_and_user {
Link Here
|
319 |
$template->param( CAN_user_editcatalogue => 1 ); |
319 |
$template->param( CAN_user_editcatalogue => 1 ); |
320 |
$template->param( CAN_user_updatecharges => 1 ); |
320 |
$template->param( CAN_user_updatecharges => 1 ); |
321 |
$template->param( CAN_user_acquisition => 1 ); |
321 |
$template->param( CAN_user_acquisition => 1 ); |
|
|
322 |
$template->param( CAN_user_suggestions => 1 ); |
322 |
$template->param( CAN_user_tools => 1 ); |
323 |
$template->param( CAN_user_tools => 1 ); |
323 |
$template->param( CAN_user_editauthorities => 1 ); |
324 |
$template->param( CAN_user_editauthorities => 1 ); |
324 |
$template->param( CAN_user_serials => 1 ); |
325 |
$template->param( CAN_user_serials => 1 ); |
325 |
$template->param( CAN_user_reports => 1 ); |
326 |
$template->param( CAN_user_reports => 1 ); |
326 |
$template->param( CAN_user_staffaccess => 1 ); |
327 |
$template->param( CAN_user_staffaccess => 1 ); |
327 |
$template->param( CAN_user_plugins => 1 ); |
|
|
328 |
$template->param( CAN_user_coursereserves => 1 ); |
328 |
$template->param( CAN_user_coursereserves => 1 ); |
|
|
329 |
$template->param( CAN_user_plugins => 1 ); |
330 |
$template->param( CAN_user_lists => 1 ); |
329 |
$template->param( CAN_user_clubs => 1 ); |
331 |
$template->param( CAN_user_clubs => 1 ); |
330 |
$template->param( CAN_user_ill => 1 ); |
332 |
$template->param( CAN_user_ill => 1 ); |
331 |
$template->param( CAN_user_stockrotation => 1 ); |
333 |
$template->param( CAN_user_stockrotation => 1 ); |
332 |
$template->param( CAN_user_problem_reports => 1 ); |
334 |
$template->param( CAN_user_cash_management => 1 ); |
|
|
335 |
$template->param( CAN_user_problem_reports => 1 ); |
333 |
|
336 |
|
334 |
foreach my $module ( keys %$all_perms ) { |
337 |
foreach my $module ( keys %$all_perms ) { |
335 |
foreach my $subperm ( keys %{ $all_perms->{$module} } ) { |
338 |
foreach my $subperm ( keys %{ $all_perms->{$module} } ) { |
336 |
- |
|
|