https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29178 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Any users can delete a |Only users with |background job |manage_background_jobs can | |cancel a job --- Comment #2 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Fridolin Somers from comment #1)
You mean adding : if ( $job->borrowernumber eq $loggedinuser )
But we could argue that any staff user with 'manage_background_jobs' permission should be able to cancel a job, no ?
Users with manage_background_jobs are the only ones who can cancel jobs. The idea here is to make it possible for the user who enqueued the job. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.