]> git.koha-community.org Git - koha.git/commit
Bug 7304: More permissions for budgets
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 18 May 2012 07:12:43 +0000 (09:12 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 27 Jun 2012 14:25:44 +0000 (16:25 +0200)
commit203757e353cbbb2add934523fdbd7113c6180207
tree037d0abfc7154caba63739d3f5dc375c8404a919
parent51cdcd91f744ff95b442bdb02f088d7d4c7642e7
Bug 7304: More permissions for budgets

- Possibility to add users to a budget
- Restrictions changed to:
  - None
  - Owner
  - Owner and users
  - Owner, users and library
- Restricted users cannot spent on these budgets (they cannot modify them
  either)

Modified pages:
 - admin/aqbudgets.pl
 - admin/aqplan.pl
 - suggestion/suggestion.pl
 - acqui/acqui-home.pl
 - acqui/addorderiso2709.pl
 - acqui/basket.pl
 - acqui/neworderempty.pl

Unit tests in t/Budgets/CanUserUseBudget.t and t/Budgets/CanUserModifyBudget.t

Bug 7304 tmp

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
27 files changed:
C4/Budgets.pm
acqui/acqui-home.pl
acqui/addorderiso2709.pl
acqui/basket.pl
acqui/neworderempty.pl
admin/aqbudget_owner_search.pl [deleted file]
admin/aqbudget_user_search.pl [new file with mode: 0755]
admin/aqbudgets.pl
admin/aqplan.pl
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/kohastructure.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/js/acq.js
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget_owner_search.tt [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudget_user_search.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt
suggestion/suggestion.pl
t/Budgets/CanUserModifyBudget.t [new file with mode: 0644]
t/Budgets/CanUserUseBudget.t [new file with mode: 0644]