This module allows users to temporarily impersonate specific roles for testing or administrative purposes without needing to log in as another user. It creates a temporary account with the selected roles, which is automatically cleaned up when you switch back or through a cron job.
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.