[Koha-bugs] [Bug 29178] Only users with manage_background_jobs can cancel a job
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 6 10:05:27 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29178
Jonathan Druart <jonathan.druart+koha at 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 at 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.
More information about the Koha-bugs
mailing list