Bugzilla – Attachment 19541 Details for
Bug 6898
circulation librarians can't run overdues without reports permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 6898 - updatedatabase second query not executed
PASSED-QA-Bug-6898---updatedatabase-second-query-n.patch (text/plain), 1.35 KB, created by
Katrin Fischer
on 2013-07-11 06:21:54 UTC
(
hide
)
Description:
[PASSED QA] Bug 6898 - updatedatabase second query not executed
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-07-11 06:21:54 UTC
Size:
1.35 KB
patch
obsolete
>From ed6f891cbfcd370e5bbab2d3d12c2b30fa4640b7 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Wed, 5 Jun 2013 14:16:14 +0200 >Subject: [PATCH] [PASSED QA] Bug 6898 - updatedatabase second query not > executed > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >This will only fix the permissions for updates done >after the patch has been applied. But I agree with >Fridolyn, that we can not safely update permissions for >existing installations. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > installer/data/mysql/updatedatabase.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index adc1e7f..ef67c6b 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -6492,7 +6492,7 @@ if ( CheckVersion($DBversion) ) { > VALUES ( '1', 'overdues_report', 'Execute overdue items report' ) > }); > # add new permission for users with all report permissions and circulation remaining permission >- my $sth = $dbh->prepare(q{ >+ $dbh->do(q{ > INSERT INTO user_permissions (borrowernumber, module_bit, code) > SELECT user_permissions.borrowernumber, 1, 'overdues_report' > FROM user_permissions >-- >1.7.9.5
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 6898
:
7568
|
8233
|
14680
|
15162
|
15939
|
15940
|
15946
|
15947
|
15948
|
15966
|
15974
|
15975
|
16034
|
16035
|
16207
|
16208
|
18670
|
19434
| 19541