Posted by benrj on April 25, 2012 at 12:20pm
4 followers
Jump to:
| 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
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| masquerade_add_hooks.patch | 1.03 KB | Ignored: Check issue status. | None | None |
Comments
#1
#1364574: Invoke logout & login hooks for compatibility with bakery
#2
This issue about introducing hooks and probably reactions for example with rules
#3
My bad. They are different hooks.
#4
@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).