Bugzilla – Attachment 73527 Details for
Bug 19817
Merge local and online documentations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19817: Add new permission edit_help
Bug-19817-Add-new-permission-edithelp.patch (text/plain), 2.64 KB, created by
Jonathan Druart
on 2018-04-02 14:27:11 UTC
(
hide
)
Description:
Bug 19817: Add new permission edit_help
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-04-02 14:27:11 UTC
Size:
2.64 KB
patch
obsolete
>From b1f7bae36f230db5afe617256097a58bc4ca7ce1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 + > koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc | 1 + > 3 files changed, 4 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 2ea387e8a5..b636a5d7c5 100644 >--- a/installer/data/mysql/userpermissions.sql >+++ b/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'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >index 78f4995c23..5a76251b67 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >@@ -107,6 +107,7 @@ > [%- CASE 'delete_public_lists' -%]<span>Delete public lists</span> > [%- CASE 'upload_general_files' -%]<span>Upload any file</span> > [%- CASE 'upload_manage' -%]<span>Manage uploaded files (<i>Useless without upload_general_files</i>)</span> >+ [%- CASE 'edit_help' -%]<span>Edit the local manual files</span> > [%- CASE 'edit_clubs' -%]<span>Create and edit clubs</span> > [%- CASE 'edit_templates' -%]<span>Create and edit club templates</span> > [%- CASE 'enroll' -%]<span>Enroll patrons in clubs</span> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19817
:
69807
|
69808
|
70131
|
70132
|
70133
|
73523
|
73524
|
73525
|
73526
|
73527
|
73651
|
73652
|
73872
|
73877
|
73931
|
73932
|
73933
|
73934
|
73935
|
73936
|
73937
|
73938
|
74567
|
74568
|
74569
|
74570
|
74571
|
74572
|
74573
|
74574
|
74644
|
74645
|
74646
|
74647
|
74648
|
74649
|
74650
|
74651
|
75370
|
75371
|
75372
|
75373
|
75374
|
75375
|
75376
|
75377
|
76151
|
76152
|
76153
|
76154
|
76155
|
76156
|
76157
|
76158
|
77791
|
77792
|
77793
|
77794
|
77795
|
77797
|
77798
|
77799
|
77932
|
77942
|
77943
|
77944
|
77945
|
77946
|
77947
|
77948
|
77949
|
77950
|
77951
|
78953
|
87238