]> git.evergreen-ils.org Git - Evergreen.git/commit
Re-enable use of BAR_PATRON and UNBAR_PATRON perms
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 15 Feb 2012 20:36:58 +0000 (15:36 -0500)
committerBill Erickson <berick@esilibrary.com>
Thu, 23 Feb 2012 18:20:08 +0000 (13:20 -0500)
commit43f410302a2bcec8e905b7ec6d479c25d4705988
treede9154157c75b56825d5da0e7c89dd3c75209a85
parentf27de9486a348bd828d28093640a0da8eee708b8
Re-enable use of BAR_PATRON and UNBAR_PATRON perms

If you aren't allowed to bar/unbar at the patron's home library then:

1 - Disable the checkbox as appropriate
2 - Disallow on the backend too

The frontend only checks on page load. The backend checks the old patron on
update and the new patron on create.

This does not stop "change home library to me, bar/unbar, change back" if
otherwise able to change the patron's home library.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
Open-ILS/web/js/ui/default/actor/user/register.js