Restrict masquerade privileges for roles

davedelong - July 22, 2008 - 19:46
Project:Masquerade
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

A really neat thing for masquerade would be able to set role-level permissions as to what role can masquerade as whom.

For example, on a site I'm building, we have a bogus role that helps us track some internal dummy users. It'd be really neat if we could restrict masquerade from allowing others to masquerade as the dummy users (they all have the same role).

Alternatively, perhaps it could be set up so that you can say that users of Role A can masquerade as users of Roles B and C, but users of Role B can only masquerade as users of Role C, and C can't masquerade as anyone.

It's similar to what's already in place in terms of the "Admin" role, but I think this method would ultimately be more useful.

Thanks,

Dave

#1

deviantintegral - August 27, 2009 - 20:06
Version:6.x-1.0-beta1» 6.x-1.x-dev

Seems like a reasonable request. I'd be glad to review patches for such a feature. In the mean time, in the latest -dev version you can set up user-to-user relationships which may work for such a case.

 
 

Drupal is a registered trademark of Dries Buytaert.