Bugzilla – Attachment 30345 Details for
Bug 7292
New permission for claims
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7292: Use IsSuperLibrarian() instead of $userflags->{superlibrarian}
Bug-7292-Use-IsSuperLibrarian-instead-of-userflags.patch (text/plain), 899 bytes, created by
Julian Maurice
on 2014-07-30 14:47:41 UTC
(
hide
)
Description:
Bug 7292: Use IsSuperLibrarian() instead of $userflags->{superlibrarian}
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2014-07-30 14:47:41 UTC
Size:
899 bytes
patch
obsolete
>From 4d498feb564c08f4650efb01966bc26dbd9ec6bb Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Wed, 30 Jul 2014 16:43:08 +0200 >Subject: [PATCH] Bug 7292: Use IsSuperLibrarian() instead of > $userflags->{superlibrarian} > >--- > acqui/lateorders.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/lateorders.pl b/acqui/lateorders.pl >index 9952d8b..55e3921 100755 >--- a/acqui/lateorders.pl >+++ b/acqui/lateorders.pl >@@ -69,7 +69,7 @@ my ($template, $loggedinuser, $cookie, $userflags) = get_template_and_user( > > # Check if user has rights to access this page > my $can_claim_for_all = 0; >-if ($userflags->{superlibrarian} >+if (C4::Context->IsSuperLibrarian() > or (!ref $userflags->{acquisition} and $userflags->{acquisition}) > or (ref $userflags->{acquisition} > and $userflags->{acquisition}->{order_claim_for_all} >-- >1.7.10.4
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 7292
:
9618
|
10968
|
11284
|
14518
|
21354
|
25078
|
25079
|
26355
|
26356
|
26357
|
26677
|
28462
|
28463
|
28464
|
28465
|
28484
|
28485
|
28486
|
28487
|
30341
|
30342
|
30343
|
30344
| 30345