Bug 30230: (follow-up) Fix permission check in staff interface navigation
The patron module should now show up in the staff main navigation on
top of the page if the user only has the new list_borrowers permission.
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit b222ced1cb)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
0b706d078e
commit
458446723a
|
|
@ -17,7 +17,7 @@
|
|||
<div id="header" class="navbar-collapse collapse">
|
||||
<ul id="toplevelmenu" class="nav navbar-nav">
|
||||
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></li>[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]<li><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></li>[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers || CAN_user_borrowers_list_borrowers %]<li><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></li>[% END %]
|
||||
<li id="catalog-search-link">
|
||||
<a href="/cgi-bin/koha/catalogue/search.pl">Search</a>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue