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

--- Comment #13 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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