I want to create a form where I can list the users that can masquerade as a specific target user. However, masquerade_target_user_access()
only has a parameter for the target user, and it assumes that I want to check the current user's access. This means I would need to copy the code into a custom function to allow checking for a different user.
masquerade_target_user_access()
doesn't have a parameter for user to check access for.
It would be simple to add a parameter and have it default to the current user if no value is passed.
Active
2.0
Code
It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.