Functionality is stripped to simple block and /masquerade route with the same form
Module allows to masquerade access based on "masquerade as @role" permission
Special permissions for super user (UID 1) and "masquerade as any user"
Release focused to simplify code base:
1) Split module on masquerade and masquerade_advanced
2) Masquerade module just simple api + toolbars integration
3) advanced module should add features like block, switch links, roles
Adds missing parenthesis in cleanup cron query.
Fixes some undefined variable notices.
Removes duplicated FAPI declaration for the autocomplete field in the block.
#138860 by bwynants - Performance tweaks.. and moved "masquerade as.." under new heading. #174650 - access denied when attempting to switch back #227924 - integration with alt_login #268487 - add a database cleanup cron when people don't use the switch back link