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

--- Comment #10 from Olivia Reynolds <[email protected]> ---
Created attachment 208571
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208571&action=edit
Bug 42826: Allow changing report owners

This patch adds a "Report owner" field to the edit form for reports,
only usable by users with the edit_all_reports.

Test plan:
1.  Apply patches.
2.  Log in as a user with edit_all_reports permission (such as koha on
    KTD).
3.  Create a report under Tools > Reports.
    The quickest way to do this is to create a new SQL report with any
    title and "SELECT 1" as the SQL query.
4.  Verify editing the new report shows a "Report owner" field with the
    cardnumber of your user.
5.  Verify typing a patron name in this field autocompletes correctly.
6.  Verify changing this owner field, saving, and reloading the edit
    page displays the change correctly.
7.  Log in as a librarian without edit_all_reports but with
    create_reports permission.
8.  Create a new report.
9.  Verify this librarian does not see the "Report owner" field.
10. Prove t/db_dependent/Reports/Guided.t

Sponsored-by: Open Fifth

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to