http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9303

--- Comment #143 from Nick Clemens <[email protected]> ---
Tested on VM, patch applied cleanly.

Test plan:
1 - Apply patch and run updatedatabase.pl
2 - Create three patrons A, B, and C.  A is guarantor for B and C
3 - Checkout one item to each B and C
4 - Set AllowPatronToSetCheckoutsVisibilityForGuarantor to Allow - option
appears on B and C's 'Your personal details' tab in OPAC and not on A's
5 - Set OPACPrivacy  to allow - the guarantor option moves to the privacy tab
for B & C, still not visible for A
6 - Set Allow guarantor to view.... For B, then C, then both, appears as
expected on 'Relatives checkouts' tab for borrower A
7 - Set AllowPatronToSetCheckoutsVisibilityForGuarantor to Don't & set
AllowStaffToSetCheckoutsVisibilityForGuarantor to allow - option is removed
from B&C, A can still see their checkouts.  Staff can view B's checkouts on C's
account and vice versa.  Patron A can see checkouts for B&C.  Staff can edit
the option for patrons B &C's accounts but not on A's account
8 - Set AllowStaffToSetCheckoutsVisibilityForGuarantor to Don't - Patron A can
no longer see B or C's checkouts, staff can see B&C's checkouts on each others
accounts and both B&C on A's account
9 - Set both New prefs on and both staff and patrons can edit and view as
expected.  Toggle OPACPrivacy and the patron option moves

I think I hit all the relevant combinations and did not run into any bugs.

The only minor error I see is that all patrons now have the 'Show checkouts to
guarantor' flag listed under 'Library Use' whether or not the preferences are
on or whether or not they have guarantors. If they don't have a guarantor you
can see the option but not edit it regardless of the AllowStaff... syspref.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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/

Reply via email to