Bugzilla – Attachment 41578 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]
Bug 14529: The new list permission is 'lists', not 'shelves'
Bug-14529-The-new-list-permission-is-lists-not-she.patch (text/plain), 893 bytes, created by
Jonathan Druart
on 2015-08-18 11:43:58 UTC
(
hide
)
Description:
Bug 14529: The new list permission is 'lists', not 'shelves'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-08-18 11:43:58 UTC
Size:
893 bytes
patch
obsolete
>From 1587f5ab9de468f478162e83bf62825c82c1c8dd 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] Bug 14529: The new list permission is 'lists', not 'shelves' > >--- > C4/VirtualShelves.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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; >-- >2.1.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 14529
:
40976
|
41578
|
41613
|
41614
|
41615
|
41616
|
41617
|
41618