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

Jonathan Druart <jonathan.druart+k...@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+k...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to