Bugzilla – Attachment 8824 Details for
Bug 7888
Permission for "change password" button in circ toolbar should be "borrowers" instead of "staffaccess"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 7888 - Permission for "change password" button in circ toolbar should be "borrowers" instead of "staffaccess"
SIGNED-OFF-Bug-7888---Permission-for-change-passwo.patch (text/plain), 2.62 KB, created by
Owen Leonard
on 2012-04-03 16:03:42 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 7888 - Permission for "change password" button in circ toolbar should be "borrowers" instead of "staffaccess"
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-04-03 16:03:42 UTC
Size:
2.62 KB
patch
obsolete
>From 8325690cb86fbdc8e8e7bf2073aaf20523542c58 Mon Sep 17 00:00:00 2001 >From: Liz Rea <wizzyrea@gmail.com> >Date: Tue, 3 Apr 2012 10:35:28 -0500 >Subject: [PATCH] [SIGNED-OFF] Bug 7888 - Permission for "change password" > button in circ toolbar should be "borrowers" instead of > "staffaccess" >Content-Type: text/plain; charset="utf-8" > >Patch changes permisison for "change password" button in circ-toolbar.inc from staffaccess to borrowers. > >To test: >- With a staff user with borrowers permission, verify the change password button is shown for a normal patron. >- With a staff user without borrowers permission, verify the change password button does not appear. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/includes/circ-toolbar.inc | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >index efad86e..83c01b5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc >@@ -100,7 +100,7 @@ function export_barcodes() { > [% IF ( adultborrower ) %]new YAHOO.widget.Button("addchild");[% END %] > new YAHOO.widget.Button("editpatron"); > new YAHOO.widget.Button("addnote"); >- [% IF CAN_user_staffaccess %] new YAHOO.widget.Button("changepassword"); [% END %] >+ [% IF CAN_user_borrowers %] new YAHOO.widget.Button("changepassword"); [% END %] > new YAHOO.widget.Button("duplicate"); > new YAHOO.widget.Button("printslip"); > new YAHOO.widget.Button("printpage"); >@@ -126,7 +126,7 @@ function export_barcodes() { > [% END %] > [% IF ( CAN_user_borrowers ) %] > [% IF ( adultborrower AND activeBorrowerRelationship ) %]<li><a id="addchild" href="/cgi-bin/koha/members/memberentry.pl?op=add&guarantorid=[% borrowernumber %]&category_type=C">Add child</a></li>[% END %] >- [% IF ( CAN_user_staffaccess ) %] <li><a id="changepassword" href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Change Password</a></li>[% END %] >+ [% IF ( CAN_user_borrowers ) %] <li><a id="changepassword" href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]">Change Password</a></li>[% END %] > [% END %] > <li><a id="duplicate" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&borrowernumber=[% borrowernumber %]&category_type=[% category_type %]">Duplicate</a></li> > <li id="printmenuc"><a id="printpage" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]&print=page">Print Page</a></li> >-- >1.7.5.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 7888
:
8822
| 8824