Bugzilla – Attachment 47159 Details for
Bug 15579
records_batchmod permission doesn't allow access to batch modification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15579: Fix permission for batch record modification
Bug-15579-Fix-permission-for-batch-record-modifica.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2016-01-22 08:59:59 UTC
(
hide
)
Description:
Bug 15579: Fix permission for batch record modification
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-01-22 08:59:59 UTC
Size:
1.20 KB
patch
obsolete
>From eef9f98863bd54cf6cc3d47eb747285406e86c4f Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Thu, 21 Jan 2016 16:25:33 +0100 >Subject: [PATCH] Bug 15579: Fix permission for batch record modification > >To test: > >- For a patron, permissions 'catalogue' and 'records_batchmod' only >- Log in as this patron >- Go to /cgi-bin/koha/tools/batch_record_modification.pl > >Without patch: You have no permisson to acces the page. >With patch: Page 'Batch record modification' displays as expected. > >(Amended to fix wrong test plan) > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > tools/batch_record_modification.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/batch_record_modification.pl b/tools/batch_record_modification.pl >index 2f33fbb..50a2b50 100755 >--- a/tools/batch_record_modification.pl >+++ b/tools/batch_record_modification.pl >@@ -44,7 +44,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ > query => $input, > type => "intranet", > authnotrequired => 0, >- flagsrequired => { tools => 'biblio_batchmod' }, >+ flagsrequired => { tools => 'records_batchmod' }, > }); > > >-- >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 15579
:
46663
|
47137
|
47139
|
47159
|
47172