From 0b10330293941a0ae2750acc35dc411ce2ddf195 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 18 Dec 2017 18:22:44 -0300 Subject: [PATCH] Bug 19817: Add new permission edit_help Change in existing behaviour! --- installer/data/mysql/atomicupdate/bug_19817.sql | 2 ++ installer/data/mysql/userpermissions.sql | 1 + 2 files changed, 3 insertions(+) diff --git a/installer/data/mysql/atomicupdate/bug_19817.sql b/installer/data/mysql/atomicupdate/bug_19817.sql index b2409ebbd6..fe34a7fef4 100644 --- a/installer/data/mysql/atomicupdate/bug_19817.sql +++ b/installer/data/mysql/atomicupdate/bug_19817.sql @@ -1,2 +1,4 @@ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('KohaManualBaseURL','http://koha-community.org/manual/','','Where is the Koha manual/documentation located?','Free'); + +INSERT IGNORE INTO permissions (module_bit, code, description) VALUES (13, 'edit_help', 'Edit the local manual files'); diff --git a/installer/data/mysql/userpermissions.sql b/installer/data/mysql/userpermissions.sql index 172f4c6ea1..8e4400e12e 100644 --- a/installer/data/mysql/userpermissions.sql +++ b/installer/data/mysql/userpermissions.sql @@ -58,6 +58,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES (13, 'marc_modification_templates', 'Manage marc modification templates'), (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'), (13, 'upload_general_files', 'Upload any file'), + (13, 'edit_help', 'Edit the local manual files'), (13, 'upload_manage', 'Manage uploaded files'), (15, 'check_expiration', 'Check the expiration of a serial'), (15, 'claim_serials', 'Claim missing serials'), -- 2.11.0