Download & Extend

Allow masquerade_menu_access() to be extended via a hook()

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

Issue Summary

I would like to use masquerade for subuser_switch which uses the relation project to store parent-child relationships. Duplicating the information into masquerade_users seems to be the only way to make the permissions work as they need which is really not a good idea.

Can we add a hook of some sort to allow someone to alter/define their own masquerade access rules (aka subuser_switch only allows parents to switch to their children)?

Comments

#1

#2

I'm not familiar with subuser_switch but glad to review patches