Bug 9448: Add separate permission for writing off fees
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 21 Mar 2013 11:18:50 +0000 (04:18 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 17 Apr 2014 15:41:23 +0000 (15:41 +0000)
commitd5a976b1fa57e0fc3a1589eb405767d246ee2eb6
treea562e86dca75187b8cc1c5f413dcd7fa2ccf057c
parent695fdebdee802387f45505a1350120727d3e2f7f
Bug 9448: Add separate permission for writing off fees

Adds new sub-permissions to updatecharges, 'writeoff' for writing off
fees and 'remaining_permissions' for all other fee related activites.

Test plan:
1) Apply patch
2) Run updatedatabase.pl
3) Remove the 'writeoff' permission from your privileges
4) Attempt to write off a fee, you should not be able to
5) Re-add the 'writeoff' permission
6) Attempt to write off a fee, you should now be able to do so

Signed-off-by: Joel Sasse <jsasse@plumcreeklibrary.net>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
18 files changed:
installer/data/mysql/de-DE/mandatory/userpermissions.sql
installer/data/mysql/en/mandatory/userpermissions.sql
installer/data/mysql/es-ES/mandatory/userpermissions.sql
installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql
installer/data/mysql/it-IT/necessari/userpermissions.sql
installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql
installer/data/mysql/pl-PL/mandatory/userpermissions.sql
installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql
installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
members/boraccount.pl
members/mancredit.pl
members/maninvoice.pl
members/pay.pl
members/paycollect.pl
members/printfeercpt.pl
members/printinvoice.pl