On mainpage.pl we show the count of background jobs only to users who do not have the manage_background_jobs permission: unless ( $logged_in_user->has_permission( { parameters => 'manage_background_jobs' } ) ) { my $already_ran_jobs = Koha::BackgroundJobs->search( { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0; $template->param( already_ran_jobs => $already_ran_jobs ); } This seems backwards to me. Is there a reason to show the count only to users without the permission?
I just saw Bug 29020. So this is working as intended.