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.

CommentFileSizeAuthor
role_based_masquerade.patch.txt1.92 KBJacobSingh

Comments

Gurpartap Singh’s picture

Fateh! 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!

Gurpartap Singh’s picture

Status: Needs review » Closed (fixed)

I'm afraid if this should go into module cvs. The current block provides improved usage. Although matter is for roles in development cases.