[Koha-bugs] [Bug 26023] Incorrect permissions handling for cashup actions on the library level registers summary page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 24 10:22:23 CEST 2020


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

--- Comment #13 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Martin, I think we should use "blocking errors" way for that kind of error.

At the top of the script we can have 

output_and_exit( $input, $cookie, $template, 'insufficient_permission' )
  if $op eq 'cashup' && not $logged_in_user->has_permission( { cash_management
=> 'cashup' } )

Not enough to block the push however.

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


More information about the Koha-bugs mailing list