LP#1446860 Staff were able to edit their own accounts.
authorChris Sharp <csharp@georgialibraries.org>
Tue, 21 Apr 2015 21:10:49 +0000 (17:10 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Sun, 17 Sep 2017 20:16:27 +0000 (16:16 -0400)
commit2a6c087b6d48246d3691263037f30c4d1d7c7a58
tree6eb070d1cf7db35a17cf4713e24e217c846e16e8
parentc0936d079619d1f457bcb6788bf7a4d11776d6f7
LP#1446860 Staff were able to edit their own accounts.

This change reverses what appears to be a thinko in the
original programming.  If the editing user is the same
as the user being edited, disable the Save button.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Conflicts:
Open-ILS/web/js/ui/default/actor/user/register.js

LP#1446860 - Correct mistaken logic in previous fix.

See https://bugs.launchpad.net/evergreen/+bug/1446860/comments/2
for reference.  The logic was not enforcing the "if the editing
staff member doesn't have permission to edit a user in this
permission group" check.  This corrects that.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/web/js/ui/default/actor/user/register.js