Bugzilla – Attachment 35383 Details for
Bug 13582
Able to view menu for Circulation History even when user does not have permission
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13582: (follow-up) Able to view menu for Circulation History even when user does not have permission
Bug-13582-follow-up-Able-to-view-menu-for-Circulat.patch (text/plain), 2.26 KB, created by
Jonathan Druart
on 2015-01-19 13:16:37 UTC
(
hide
)
Description:
Bug 13582: (follow-up) Able to view menu for Circulation History even when user does not have permission
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-01-19 13:16:37 UTC
Size:
2.26 KB
patch
obsolete
>From b9c7c377c02f717002e41aea15bde06b715bf6c0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 19 Jan 2015 14:15:29 +0100 >Subject: [PATCH] Bug 13582: (follow-up) Able to view menu for Circulation > History even when user does not have permission > >Same changes as the previous patch, for the .tt file. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt >index 95a55f8..2a1da6b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.tt >@@ -73,7 +73,10 @@ in the global namespace %] > [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrower.borrowernumber %]">Fines</a></li> > [% END %] > [% IF ( RoutingSerials ) %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% borrower.borrowernumber %]">Routing lists</a></li>[% END %] >- [% IF ( intranetreadinghistory ) %][% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrower.borrowernumber %]">Circulation history</a></li>[% END %] >+ <!-- Added check for borrowers permission as this is needed to access Cirulation History --> >+ [% IF ( intranetreadinghistory && CAN_user_borrowers ) %] >+ [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrower.borrowernumber %]">Circulation history</a></li> >+ [% END %] > [% IF ( CAN_user_parameters ) %][% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&modules=circulation&object=[% borrower.borrowernumber %]&src=circ">Modification log</a></li>[% END %] > [% IF ( EnhancedMessagingPreferences ) %] > [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrower.borrowernumber %]">Notices</a></li> >-- >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 13582
:
35263
|
35359
|
35382
| 35383