<<

NAME

Koha::Reports::BackgroundJobs - Koha::BackgroundJobs resultset that opts out of per-user filtering.

DESCRIPTION

Koha::BackgroundJobs->search_limited hides jobs owned by other librarians from anyone without the manage_background_jobs permission. The Report jobs dashboard deliberately shows every run_report job to anyone who can run reports, so this subclass overrides search_limited to be a pass-through and is used in place of Koha::BackgroundJobs by Koha::REST::V1::Reports::Jobs. Per-job ownership is still enforced on the cancel endpoint.

API

Class methods

search_limited

Pass-through wrapper that calls search, ignoring the per-user filter applied by "search_limited" in Koha::BackgroundJobs.

<<