]> git.koha-community.org Git - koha.git/commit
Bug 8435: add permission to enable editing other library's serials if IndependantBran...
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 12 Nov 2012 13:15:42 +0000 (14:15 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 31 Oct 2013 15:27:19 +0000 (15:27 +0000)
commitd2052311cb232f98c801eb52d602b8970b38bc26
treee7aa5d6e8a9c965b72469af1677660a20146b277
parenteaf4730abe6002e52192076376a15729447f2939
Bug 8435: add permission to enable editing other library's serials if IndependantBranches is on

In the serial module, we want to hide serials from others libraries.
However, to permit central serials manage, this patch introduces a
new permission, 'superserials'. If a staff member has this permission,
that person can override the restriction.

Test plan:
- Switch on the IndependantBranches syspref
- Add the permission 'superserials' for a patron and test you can
  navigate and see all serials
- Remove this permission and test you cannot manage/view subscriptions
  from others libraries

Signed-off-by: Frederic Durand <frederic.durand@unilim.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
18 files changed:
C4/Auth.pm
C4/Serials.pm
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/serials/serials-search.tt
serials/serials-collection.pl
serials/serials-edit.pl
serials/serials-search.pl
serials/subscription-add.pl
serials/subscription-detail.pl