Magento 2 Admin Account Switcher

Installation and User Guide for Magento 2 Admin Account Switcher

Table of Contents

  1. Installation

    • Installation via app/code

    • Installation via Composer

Installation

  • Installation via app/code: Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added. After the successful upload of the package, run below commands on Magento 2 root directory.

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
  • Installation via Composer: Please follow the guide provided in the below link to complete the installation via composer.

Configuration Settings for Admin Account Switcher

Go to Admin > Stores > Configuration > Scommerce Configuration > Admin Account Switcher

General Settings

  • Enabled - Select “Yes” or “No” to enable or disable the module.

  • License Key - Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. Please go to Admin > Stores > Configuration > Scommerce Configuration > Core and click on "Verify" to verify the license key.

Admin Account Switcher Workflow

Using this extension an admin can login into another admin's account directly from admin edit form section without requiring a password which allows them to debug easily without having to reset the other admin's password.

The admin can only use this functionality if they have the "Scommerce Switch Admin Account" (Admin>System>Permissions>User Roles>Select Role>Role Resources)selected under role resources for their user role.

Go to Admin>System>Permissions>All Users, here select(click edit) the admins account in which you want to login.

From the top menu click on "Switch User" and you will be logged into that admin's account without password authentication.

Admin Account Switcher Role

The “Switch to User” button is displayed only if the current admin user has the “Scommerce Switch Admin Account“ permissions in their user role.

To check this, you can go to Admin>System>Permissions>User Roles>Role Resources and check whether the user role has "Scommerce Switch Admin Account Role" selected.

If you have a question related to this extension please check out our FAQ Section first. If you can't find the answer you are looking for then please contact [email protected].

Last updated

Was this helpful?