masquerade_as_role
Security covered
This module allows a user to masquerade as a set of roles (instead of masquerading as an existing user).
Under the hood, a temporary account with the appropriate roles is created on the fly and deleted when switching back.
If users do not switch back, temporary accounts are deleted by cron.
Requirements:
- Masquerade
Similar modules:
- Masquerade allows to masquerade as an existing user.
- Role Switcher allows to grant oneself additional roles.