Bugzilla – Attachment 35261 Details for
Bug 10943
Impossible to manage fines without borrowers permission
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10943 - Impossible to manage fines without borrowers permission Added check for borrowers permission as that is also required when accessing fines.
Bug-10943---Impossible-to-manage-fines-without-bor.patch (text/plain), 1.93 KB, created by
Thomas Wright
on 2015-01-14 20:55:27 UTC
(
hide
)
Description:
Bug 10943 - Impossible to manage fines without borrowers permission Added check for borrowers permission as that is also required when accessing fines.
Filename:
MIME Type:
Creator:
Thomas Wright
Created:
2015-01-14 20:55:27 UTC
Size:
1.93 KB
patch
obsolete
>From 72e2776febe5997548a3d3a35a5841c1196192bc Mon Sep 17 00:00:00 2001 >From: Thomas <tomsStudy@gmail.com> >Date: Wed, 14 Jan 2015 20:49:27 +0000 >Subject: [PATCH] Bug 10943 - Impossible to manage fines without borrowers > permission Added check for borrowers permission as that is > also required when accessing fines. > >Test Plan: >-Search for a patron from an account without the 'borrowers' permission and with the 'updatecharges' permission. >*The fines tab should not be present. > >-Update the account's permissions to include the 'borrowers' permission >*The fines tab should now be present. > >-Update the account's permissions so it has neither 'borrowers' or 'updatecharges' >*The fines tab should not be present >--- > koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >index 2fe0a68..9e0fdca 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -66,7 +66,8 @@ > [% IF ( CAN_user_borrowers ) %] > [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Details</a></li> > [% END %] >- [% IF ( CAN_user_updatecharges ) %] >+ <!-- Added check for borrowers permission. Borrowers permission is also needed to access linked page --> >+ [% IF ( CAN_user_updatecharges && CAN_user_borrowers ) %] > [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% 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=[% borrowernumber %]">Routing lists</a></li>[% END %] >-- >1.7.10.4
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 10943
:
35261
|
35355
|
70597
|
70617
|
70618