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

--- Comment #2 from Olivia Reynolds <[email protected]> ---
Created attachment 202515
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202515&action=edit
Bug 42826: Allow adopting ownerless reports

This patch allows any user with create_reports permission to adopt
reports that don't have an owner set. Users with edit_all_reports
permission can adopt any report.

Test plan (following on from previous patch):
1.  As a user with edit_all_reports, use the "Report Owner" field to
    clear the ownership of a report.
2.  As a user with create_reports but not edit_all_reports, navigate to
    the list of reports.
3.  Verify there is an "Adopt" option in the actions dropdown for the
    relevant report.
4.  Verify clicking "Adopt" redirects you to the edit page for the
    report.
5.  As the user with edit_all_reports, navigate to the edit page for the
    relevant report and verify the owner has been filled in with the
    other user's cardnumber.

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