Bugzilla – Attachment 88386 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.36 KB, created by
Agustín Moyano
on 2019-04-22 15:14:16 UTC
(
hide
)
Description:
Bug 22748: Pass uderid to haspermission
Filename:
MIME Type:
Creator:
Agustín Moyano
Created:
2019-04-22 15:14:16 UTC
Size:
1.36 KB
patch
obsolete
>From b28827018edcb3a688b3e11ab967413b7bac2c29 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 22 Apr 2019 15:05:51 +0000 >Subject: [PATCH] Bug 22748: Pass uderid to haspermission > >Signed-off-by: Agustin Moyano <agustinmoyano@theke.io> >--- > 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