Bugzilla – Attachment 88382 Details for
Bug 22748
Wrong permission check in addbiblio.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22748: Pass uderid to haspermission
Bug-22748-Pass-uderid-to-haspermission.patch (text/plain), 1.31 KB, created by
Nick Clemens (kidclamp)
on 2019-04-22 14:48:06 UTC
(
hide
)
Description:
Bug 22748: Pass uderid to haspermission
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-04-22 14:48:06 UTC
Size:
1.31 KB
patch
obsolete
>From 8b94c0d5ee1c0eba6251217820f280d628a3b7d5 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 22 Apr 2019 14:47:14 +0000 >Subject: [PATCH] Bug 22748: Pass uderid to haspermission > >--- > cataloguing/addbiblio.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index 8c60a11a3b..246efa1ab4 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -737,7 +737,7 @@ if ($frameworkcode eq 'FA'){ > 'stickyduedate' => $fa_stickyduedate, > 'duedatespec' => $fa_duedatespec, > ); >-} elsif ( $op ne "delete" && C4::Context->preference('EnableAdvancedCatalogingEditor') && C4::Auth::haspermission($loggedinuser,{'editcatalogue'=>'advanced_editor'}) && $input->cookie( 'catalogue_editor_' . $loggedinuser ) eq 'advanced' && !$breedingid ) { >+} elsif ( $op ne "delete" && C4::Context->preference('EnableAdvancedCatalogingEditor') && C4::Auth::haspermission(C4::Context->userenv->{id},{'editcatalogue'=>'advanced_editor'}) && $input->cookie( 'catalogue_editor_' . $loggedinuser ) eq 'advanced' && !$breedingid ) { > # Only use the advanced editor for non-fast-cataloging. > # breedingid is not handled because those would only come off a Z39.50 > # search initiated by the basic editor. >-- >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 22748
:
88382
|
88386
|
88592