Bug 14529: The new list permission is 'lists', not 'shelves'
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
This commit is contained in:
parent
3ec6c88ae1
commit
748b212cf9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue