]> git.koha-community.org Git - koha.git/commit
Bug 17316: Do not display the list's name if the user does not have permission -...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 20 Sep 2016 08:55:25 +0000 (09:55 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 30 Sep 2016 08:19:20 +0000 (10:19 +0200)
commitd46322c7cd30f6be6c6589de79577b720a408d3b
treea0493a069c67226850006881fd6cfddf2a75fbad
parent1dbc8e550e45a475ccbbc9d375c739307a6630bb
Bug 17316: Do not display the list's name if the user does not have permission - OPAC

At the OPAC, if a user manipulate the URL to show a list (s)he is not
allowed to view, the list's name will be displayed anyway.

Test plan:
- Create a private list with user A
- Copy the op=view URL and access it with user B logged in
=> Without this patch, you will see the rss icon, the list's name and
the "add list" button
=> Without this patch, only the "unauthorized" box will be displayed

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 31ca4849efd5539c6b287047ce2da560be7e1c53)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
opac/opac-shelves.pl