Bugzilla – Attachment 41614 Details for
Bug 14529
Cannot delete a list even if the permission is set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 14529: The new list permission is 'lists', not 'shelves'
SIGNED-OFF-Bug-14529-The-new-list-permission-is-li.patch (text/plain), 969 bytes, created by
Kyle M Hall (khall)
on 2015-08-18 15:26:06 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 14529: The new list permission is 'lists', not 'shelves'
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-08-18 15:26:06 UTC
Size:
969 bytes
patch
obsolete
>From d5efb55f8ce92e6f1f2331c3bcd3132aaf8eda41 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 18 Aug 2015 12:43:27 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 14529: The new list permission is 'lists', not 'shelves' > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/VirtualShelves.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/VirtualShelves.pm b/C4/VirtualShelves.pm >index 3833eec..0b11830 100644 >--- a/C4/VirtualShelves.pm >+++ b/C4/VirtualShelves.pm >@@ -467,7 +467,7 @@ sub ShelfPossibleAction { > my $borrower = C4::Members::GetMember( borrowernumber => $user ); > require C4::Auth; > return 1 >- if C4::Auth::haspermission( $borrower->{userid}, { shelves => 'delete_public_lists' } ); >+ if C4::Auth::haspermission( $borrower->{userid}, { lists => 'delete_public_lists' } ); > } > > my $dbh = C4::Context->dbh; >-- >1.7.2.5
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 14529
:
40976
|
41578
|
41613
|
41614
|
41615
|
41616
|
41617
|
41618