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

--- Comment #1 from Olivia Reynolds <[email protected]> ---
Created attachment 202514
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202514&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.  Ensure the changes from Bug 42667 are applied.
2.  Apply patches.
3.  Log in as a user with edit_all_reports permission (such as koha on
    KTD).
4.  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.
5.  Verify editing the new report shows a "Report owner" field with the
    cardnumber of your user.
6.  Verify typing a patron name in this field autocompletes correctly.
7.  Verify changing this owner field, saving, and reloading the edit
    page displays the change correctly.
8.  Log in as a librarian without edit_all_reports but with
    create_reports permission.
9.  Create a new report.
10. Verify this librarian does not see the "Report owner" field.
11. 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