@@ -, +, @@
---
installer/data/mysql/atomicupdate/bug_19817.sql | 2 ++
installer/data/mysql/userpermissions.sql | 1 +
koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc | 1 +
3 files changed, 4 insertions(+)
--- a/installer/data/mysql/atomicupdate/bug_19817.sql
+++ a/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');
--- a/installer/data/mysql/userpermissions.sql
+++ a/installer/data/mysql/userpermissions.sql
@@ -60,6 +60,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
(13, 'upload_general_files', 'Upload any file'),
(13, 'upload_manage', 'Manage uploaded files'),
+ (13, 'edit_help', 'Edit the local manual files'),
(15, 'check_expiration', 'Check the expiration of a serial'),
(15, 'claim_serials', 'Claim missing serials'),
(15, 'create_subscription', 'Create a new subscription'),
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
@@ -107,6 +107,7 @@
[%- CASE 'delete_public_lists' -%]Delete public lists
[%- CASE 'upload_general_files' -%]Upload any file
[%- CASE 'upload_manage' -%]Manage uploaded files (Useless without upload_general_files)
+ [%- CASE 'edit_help' -%]Edit the local manual files
[%- CASE 'edit_clubs' -%]Create and edit clubs
[%- CASE 'edit_templates' -%]Create and edit club templates
[%- CASE 'enroll' -%]Enroll patrons in clubs
--