We have a use case where we have certain roles in our system that we do not want anyone ( even those with masquerading privileges ) to masquerade as a user with those roles. Because of this, I made a change to allow you to provide some "blocked roles" that will keep other from masquerading as that user.
Patch to follow.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1180546-block-masquerade-4.patch | 2.56 KB | artkon |
| #2 | 1180546-block-masquerade-3.patch | 2.49 KB | travist |
| #1 | 1180546-block-masquerade-2.patch | 2.45 KB | travist |
Comments
Comment #1
travist commentedHere is the patch. If you find it valuable, I can re-roll it for the latest versions.
Thanks,
Travis.
Comment #2
travist commentedHere is a better patch that will always allow user 1 to bypass this...
Comment #3
travist commentedComment #4
artkon commentedPatch for new tag 6.x-1.7
Comment #5
avpadernoI am closing this feature request, as Drupal 6 is no longer supported. Please re-open it if you would like the feature implemented in the Drupal 7 or 8 version of the module.