Bug 15492: New sysprefs and permissions
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 27 Dec 2017 15:24:36 +0000 (12:24 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Mar 2018 20:31:18 +0000 (17:31 -0300)
commit92b29b88c213b7ef6ebbecacc7db896a901880d3
treef7f17ff30139187fd080e76b3607acb836cfc964
parent8c5fa90668b2a402cddde3c2f469e3ddb0def63f
Bug 15492: New sysprefs and permissions

In order to make this module unrelated to the SCO module, this
patch introduces the following sysprefs:

- SelfCheckInMainUserBlock
- SelfCheckInModuleUserID
- SelfCheckInTimeout
- SelfCheckInUserCSS
- SelfCheckInUserJS

It also adds a new user flag and sub-permission:

- self_check => self_checkin_module

and moves the circulate => self_checkout permission into

- self_check => self_checkout_module

Descriptions are adjusted accordingly.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_15492.perl
installer/data/mysql/sysprefs.sql
installer/data/mysql/userflags.sql
installer/data/mysql/userpermissions.sql
koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref