Hi,
I wish I had seen Gurpartap post before I did this, but it's done anyway, and does have a sorta different take on how to make it easier to switch. This patch will create a block which will show you one user from each role you have access to masquerade as. I've found this to be my 99% use case, so I hope it helps.
Jacob
P.S. Should also include links for authenticated user and anonymous user I suppose, but didn't need it for my own use. If the maintainer plans on using this, I'll put it in.
| Comment | File | Size | Author |
|---|---|---|---|
| role_based_masquerade.patch.txt | 1.92 KB | JacobSingh |
Comments
Comment #1
Gurpartap Singh commentedFateh! Singh Ji, ki haal hai!
Thanks for the patch and it works perfect at it's feature! I was thinking of something like creating a user dedicated to masquerading and upon each request assign the requested role to that user and masquerade. We can easily come up with this soon.
Stay in Chardikalaa!
Comment #2
Gurpartap Singh commentedI'm afraid if this should go into module cvs. The current block provides improved usage. Although matter is for roles in development cases.