]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Make Delete User failure overridable
authorJason Etheridge <jason@esilibrary.com>
Wed, 11 Jan 2012 03:15:31 +0000 (22:15 -0500)
committerBill Erickson <berick@esilibrary.com>
Fri, 20 Jan 2012 16:43:12 +0000 (11:43 -0500)
commitc5716450f3fd01f13ccd68006fdd577df4e7d709
tree99c2b4205b56ed15ee72c1ecb4ff35f0fec8c593
parentad99ea9259b3d160c1dbc59695c0affee9e48d44
Make Delete User failure overridable

Make mrpeter's new ACTOR_USER_DELETE_OPEN_XACTS event overridable to preserve
existing functionality (the delete user code will wipe out all transactions if
allowed to, and will leave copy statuses as "Checked Out" if needed, which is
okay in EG even if there aren't corresponding circ records--some libraries
migrate data like this if the information available is sparse).

So if you want to be able to do this without a super user, you'll need to create
an ACTOR_USER_DELETE_OPEN_XACTS.override perm and assign it to perm groups
and/or users.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
Open-ILS/xul/staff_client/server/patron/display.js