Bugzilla – Attachment 95552 Details for
Bug 24066
Koha::Patron->has_permission has no POD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24066: Add missing POD for has_permission
Bug-24066-Add-missing-POD-for-haspermission.patch (text/plain), 786 bytes, created by
Martin Renvoize (ashimema)
on 2019-11-19 14:04:14 UTC
(
hide
)
Description:
Bug 24066: Add missing POD for has_permission
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-11-19 14:04:14 UTC
Size:
786 bytes
patch
obsolete
>From 3302b46cadbff7a28d89ffaf125a3014817d9c34 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 19 Nov 2019 14:03:37 +0000 >Subject: [PATCH] Bug 24066: Add missing POD for has_permission > >--- > Koha/Patron.pm | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index 8e501fcfb1..894c124d96 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -1327,6 +1327,14 @@ sub libraries_where_can_see_patrons { > return @restricted_branchcodes; > } > >+=head3 has_permission >+ >+ my $permission = $patron->has_permission($required); >+ >+See C4::Auth::haspermission for details of syntax for $required >+ >+=cut >+ > sub has_permission { > my ( $self, $flagsrequired ) = @_; > return unless $self->userid; >-- >2.20.1
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 24066
:
95552
|
99673
|
100251