This module will help you to identify rarely used admin accounts and allow you to disable or delete them directly.
The more admin user accounts are enabled in Magento®, the higher is the risk of getting compromised.
- Disabling rarely used admin accounts will lower the risk of getting compromised.
- It helps your team and client to keep admin user accounts under control.
- It shows rarely used admin user accounts at the beginning on the list.
- Bulk
enable
ordisable
admin accounts.
Go to System > Permissions > User Activity
to see all admin users sorted by the last login date.
- Magento 2.3.x, 2.4.x
- PHP 5.6.x, 7.x
- Update your composer.json
composer require "magenizr/magento2-adminuser":"1.0.1" --no-update
- Use
composer update magenizr/magento2-adminuser --no-install
to update your composer.lock file.
Updating dependencies
Lock file operations: 1 install, 1 update, 0 removals
- Locking magenizr/magento2-adminuser (1.0.1)
- And then
composer install
to install the package.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 update, 0 removals
- Installing magenizr/magento2-adminuser (1.0.1): Extracting archive
- Enable the module and clear static content.
php bin/magento module:enable Magenizr_AdminUser --clear-static-content
- Download the code.
- Extract the downloaded tar.gz file. Example:
tar -xzf Magenizr_AdminUser_1.0.1.tar.gz
. - Copy the code into
./app/code/Magenizr/AdminUser/
. - Enable the module and clear static content.
php bin/magento module:enable Magenizr_AdminUser --clear-static-content
If you have any issues with this extension, open an issue on GitHub.
Follow us on GitHub, Twitter and Facebook.
===== 1.0.1 =====
- 2.4.x compatibility tested
- Version removed from module.xml
- Cleanup by following coding standards (EQP, ECG)
===== 1.0.1 =====
- 2.4.x compatibility added
- Cleanup by following coding standards (EQP, ECG)
===== 1.0.0 =====
- Stable version