[Koha-bugs] [Bug 29020] Missing Background jobs link in admin-home

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 5 17:16:12 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29020

--- Comment #5 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Jonathan Druart from comment #4)
> > Can we stop background jobs from there?
> 
> Yes, you can cancel a job, but only those you started (or you have the
> manage_background_jobs permission).

This is the theory, the code is wrong!

 64     if ( my $job = Koha::BackgroundJobs->find($id) ) { # FIXME Make sure
logged in user can cancel this job
 65         $job->cancel;
 66     }

will fix separately.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list