Checkout text box does not appear after clicking the "override restriction temporarily" button. userenv was not set and haspermission was always returning false when forceallow=1 had to move this line after get_template_and_user my $userenv = C4::Context->userenv; this was fixed in 23.11