Bugzilla – Attachment 42037 Details for
Bug 14737
Can't use cn_browser.pl cataloguing plugin without superlibrarian permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14737: wrong permissions required for cn_browser.pl plugin
Bug-14737-wrong-permissions-required-for-cnbrowser.patch (text/plain), 1.64 KB, created by
Jonathan Druart
on 2015-08-27 15:23:45 UTC
(
hide
)
Description:
Bug 14737: wrong permissions required for cn_browser.pl plugin
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-08-27 15:23:45 UTC
Size:
1.64 KB
patch
obsolete
>From 4a8551cf4db4f7613c6c18a77a352ad83aa2eb3e Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 27 Aug 2015 11:31:42 -0300 >Subject: [PATCH] Bug 14737: wrong permissions required for cn_browser.pl > plugin > >The cn_browser.pl cataloguing plugin only searches for used callnumbers >on the bibliographic database. There is no need for this plugin to >require special permissions besides access to the catalog. > >To test: >- Link the cb_browser.pl cataloguing plugin to 952$o in your favourite cataloguing framework >- Login with a superlibrarian user >- Try the plugin >=> SUCCESS: you can use it >- Login with a user that has the full 'tools' permission >- Try the plugin >=> SUCCSES: you can use it >- Login with a user that doesn't have full 'tools' permission > but has the normal catalogue and cataloguing permissions. >- Try the plugin >=> FAIL: you are requested to login with a different user >- Apply the patch >- Retry >=> SUCCESS: you can use it >- Sign off :-D > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > cataloguing/value_builder/cn_browser.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/cataloguing/value_builder/cn_browser.pl b/cataloguing/value_builder/cn_browser.pl >index 9aa2631..9599666 100755 >--- a/cataloguing/value_builder/cn_browser.pl >+++ b/cataloguing/value_builder/cn_browser.pl >@@ -37,7 +37,7 @@ sub plugin { > query => $cgi, > type => "intranet", > authnotrequired => 0, >- flagsrequired => { tools => 'cn_browser', catalogue => 1 }, >+ flagsrequired => { catalogue => 1 }, > } > ); > >-- >2.1.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 14737
:
42034
|
42037
|
42046