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

boombatower’s picture

andypost’s picture

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

ressa’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Thanks for working on this. In an attempt to help the maintainers, I am going through some of the Drupal 7 issues, and closing them, since Drupal 7 is EOL.

Since Drupal 7 is EOL, we can probably close this issue, but feel free to re-open if this is still relevant, and we should consider adding this to the Drupal 11 version?

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.