Download & Extend

Add hooks when user starts or stops masquerading

Project:Masquerade
Version:7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

Invoke a hook when a user starts or stops masquerading. This will allow other modules to perform necessary actions.

See attached patch file

AttachmentSizeStatusTest resultOperations
masquerade_add_hooks.patch1.03 KBIgnored: Check issue status.NoneNone

Comments

#1

#2

Version:7.x-1.0-rc4» 7.x-1.x-dev
Status:closed (duplicate)» needs review

This issue about introducing hooks and probably reactions for example with rules

#3

My bad. They are different hooks.

#4

Status:needs review» needs work

@deekayen suppose for d8 we just need to define action (trigger is not more in core) and has a masquarade.rules.inc file when d8 branch of rules become ready

So let's fix this in D7 first

#5

Not sure which direction to head, but #1458418: Add masquerade events API aims to do the same thing (and a little more).

nobody click here