[Koha-bugs] [Bug 35188] New: force_checkout permission can override all blocks on a patron account but only shows when they are restricted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 30 13:45:06 CET 2023


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

            Bug ID: 35188
           Summary: force_checkout permission can override all blocks on a
                    patron account but only shows when they are restricted
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

When the force_checkout permission was added, the script circulation.pl was
altered to allow overriding any block on the patron's account (expired,
gonenoaddress, etc)

The last follow-up on that bug, however, moved the button to override into the
section for restrictions, limiting the scope for users to the case where a
patron had a debarment.

To recreate:
1 - Log in to Koha with a user with force_checkout permission (superlibrarian
ok too)
2 - Mark a patron as expired, lost card, gone no address
3 - Go to 'Check out' page for the patorn
4 - Note you cannot override the restrictions
5 - Add a manual restriction/debarment
6 - Go to checkout again, now you can override
7 - Remove the debarment
8 - Add manually ot URL of checkout page '&foreallow=1'
9 - Note you can now override the other restrictions

I think the intent here should be that 'force_checkout' allows overriding any
of the statuses

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list