Bugzilla – Attachment 100251 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), 1.08 KB, created by
Marcel de Rooy
on 2020-03-06 11:27:03 UTC
(
hide
)
Description:
Bug 24066: Add missing POD for has_permission
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2020-03-06 11:27:03 UTC
Size:
1.08 KB
patch
obsolete
>From 006b5df4d57add0b1563cc305cf29ff9e453c757 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 >Content-Type: text/plain; charset=utf-8 > >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 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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.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 24066
:
95552
|
99673
| 100251