https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41921
--- Comment #23 from Kyle M Hall (khall) <[email protected]> --- Created attachment 199319 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199319&action=edit Bug 41921: Add a Report jobs dashboard for librarians This commit adds a dedicated Report jobs dashboard requiring the same permissions as running a report. The is needed because the background jobs viewer may not be accesible to everyone who ran run reports. In addition, this page will let librarians cancel their own queued reports. Superlibrarian's can cancel any report. The ability to cancel running reports is planned for a future bug report. Note: Should we have a new permission for the ability to cancel any queued report? Test plan 1) Apply patch, run updatedatabase.pl, restart all the things 2) prove t/db_dependent/api/v1/reports_jobs.t 3) Set ReportsRunInBackground=always 4) Run a saved SQL report from the staff client, something long running like "SELECT SLEEP(60)" 5) Confirm you land on the Report jobs dashboard with your new job highlighted 6) Click Cancel on the queued row, confirm the prompt, and confirm the row's status changes to 'Cancelled' on the next ajax reload 7) Run another report, let it finish, click 'View results' on the finished row, confirm the stored result renders in the standard report-results view. I've attempted to make the stored sql view match the "live results" view as much as I could. 8) Log in as a librarian with reports access but not superlibrarian, confirm you only see Cancel on your own queued rows, not on jobs owned by other librarians 9) Log in as superlibrarian, confirm Cancel is available on any queued row regardless of owner -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] 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/
