Bugzilla – Attachment 14486 Details for
Bug 9065
Upload local cover image permission implementation error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-Bug-9065-Upload-local-cover-image-permission-impleme.patch (text/plain), 1.16 KB, created by
Fridolin Somers
on 2013-01-09 09:44:18 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2013-01-09 09:44:18 UTC
Size:
1.16 KB
patch
obsolete
>From 734e3aa0451df09e29a650810e96edf82a0fbb7d Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Wed, 9 Jan 2013 10:40:24 +0100 >Subject: [PATCH] Bug 9065 - Upload local cover image permission > implementation error > >If a staff user IS NOT "superlibrarian", even if having "upload_local_cover_images", trying to use the "Tools -> Upload local cover image" will fail with "You do not have permissions [...]". > >This patch corrects the permission typo : upload_cover_images was used instead of upload_local_cover_images >--- > tools/upload-cover-image.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/upload-cover-image.pl b/tools/upload-cover-image.pl >index 9fe1ad4..b85a81a 100755 >--- a/tools/upload-cover-image.pl >+++ b/tools/upload-cover-image.pl >@@ -61,7 +61,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > query => $input, > type => "intranet", > authnotrequired => 0, >- flagsrequired => { tools => 'upload_cover_images' }, >+ flagsrequired => { tools => 'upload_local_cover_images' }, > debug => 0, > } > ); >-- >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 9065
:
14486
|
14501
|
14520