Bugzilla – Attachment 99673 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), 1004 bytes, created by
Bernardo Gonzalez Kriegel
on 2020-02-26 19:12:08 UTC
(
hide
)
Description:
Bug 24066: Add missing POD for has_permission
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2020-02-26 19:12:08 UTC
Size:
1004 bytes
patch
obsolete
>From c90ac7c8bc492d3e92e57de7f4180b5f9d5b0015 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 > >To test: >1) do perldoc Koha/Patron.pm > search has_permission > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Fixed (removed) space before 'my $permission' to make it similar to >other entries. >No errors >--- > Koha/Patron.pm | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index e6d7538640..e9c4fd2302 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -1330,6 +1330,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.17.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