LP 1648918: Remove Workstation at Root of User's Permission Tree user/mmorgan/lp_1648918-signoff
authorJason Stephenson <jason@sigio.com>
Sat, 10 Dec 2016 01:45:33 +0000 (20:45 -0500)
committerMichele Morgan <mmorgan@noblenet.org>
Fri, 3 Feb 2017 19:52:22 +0000 (14:52 -0500)
commit08add5ee74a8201a400402cd0a335eab52e0a59c
treecbf6607e46f4c600d2ea4b03947a87c71284a255
parentdb7600f7efcd5703097b7187a57c1a13711ec451
LP 1648918: Remove Workstation at Root of User's Permission Tree

If you register a workstation at the root of the user's permission
tree in the webstaff client, you are not able to later remove it.  The
Remove button is dimmed.  You can remove a workstation registered at
any other org_unit where the user has the REGISTER_WORKSTATION
permission.

To reproduce this bug, login as the admin user and register a
workstation at the CONS org_unit.  Then, go to Workstation
Administration and see that the Remove button is dimmed.

To test the patch, do the same, but see that the Remove button is not
dimmed.  When you click it, the workstation is also removed.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/web/js/ui/default/staff/admin/workstation/app.js