Webstaff: Can't remove registered workstation at root of user's org/permission tree.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Low
|
Unassigned |
Bug Description
While looking into a webstaff client issue encountered by another, I registered a workstation for the admin user in a concerto database at the CONS.
I discovered that I could not later remove it, though I could register and remove any other workstation. The Remove button is dimmed out for this workstation. (Screen shots attached.)
The reason is that the CONS org_unit is first (i.e. zero) in the perm ou array and so the check for indexOf() returns 0, a false value. The check should be indexOf() != -1.
git branch is at working/
http://
description: | updated |
tags: | added: pullrequest |
Changed in evergreen: | |
milestone: | none → 2.next |
Changed in evergreen: | |
assignee: | nobody → Michele Morgan (mmorgan) |
Changed in evergreen: | |
milestone: | 2.next → 2.12-beta |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Here's a screenshot showing that I can remove the BR1 workstation.