Skip to content

The Masquerade module ported from Drupal 7. Temporarily switch to another user account.

License

Notifications You must be signed in to change notification settings

backdrop-contrib/masquerade

Repository files navigation

Masquerade

Description

The Masquerade module allows users to temporarily switch to another user account. It keeps a record of the original user account, so users can easily switch back to the previous account.

Installation

To install the Masquerade module, extract the module to your modules folder, such as sites/all/modules. After enabling the module, it can be configured under Configuration > User accounts > Masquerade. To enable users to masquerade, assign the appropriate "masquerade module" permissions to the roles available on your site. For example:

  • To allow members of the 'customer support' role to masquerade as any non-admin user, add the 'masquerade as user' permission to the role. In the Masquerade configuration, set 'administrator' as an administrator role to prevent customer support users from masquerading as those users.

  • To allow members of the 'tech support' role to masquerade as 'administrator', add the 'masquerade as admin' permission to the role. Then, in the Masquerade configuration, set 'administrator' as an administrator role.

Usage / Quick Switch Menu

By default, when a user is selected for the 'Menu Quick Switch user', the Masquerade module adds two menu items to the 'Navigation' menu:

  • Masquerade as 'the user selected': When clicked, the user can quick switch to the user selected.

  • Switch back: This menu item appears while masquerading so that you can switch back to your original user.

Also see the "example_usage_bscool_0001.php" in masquerade folder.

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.

Current Maintainers

Credits

This module was developed for Drupal by a number of contributors. For more information about this module, see:

Project Page: http://drupal.org/project/masquerade Issue Queue: http://drupal.org/project/issues/masquerade

About

The Masquerade module ported from Drupal 7. Temporarily switch to another user account.

Resources

License

Stars

Watchers

Forks

Packages

No packages published