Download & Extend

Allow the user to specify roles in which will block masquerading

Project:Masquerade
Version:6.x-1.7
Component:Code
Category:feature request
Priority:normal
Assigned:travist
Status:needs review

Issue Summary

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.

Comments

#1

Here is the patch. If you find it valuable, I can re-roll it for the latest versions.

Thanks,

Travis.

AttachmentSizeStatusTest resultOperations
1180546-block-masquerade-2.patch2.45 KBIgnoredNoneNone

#2

Here is a better patch that will always allow user 1 to bypass this...

AttachmentSizeStatusTest resultOperations
1180546-block-masquerade-3.patch2.49 KBIgnoredNoneNone

#3

Status:active» needs review

#4

Version:6.x-1.4» 6.x-1.7

Patch for new tag 6.x-1.7

AttachmentSizeStatusTest resultOperations
1180546-block-masquerade-4.patch2.56 KBIgnoredNoneNone