This project is not covered by Drupal’s security advisory policy.
This is a Drupal module implementing several Drush commands to manipulate test users. This can be useful for automated tests, but also to quickly get some users for your own testing. Most notably, the create command will create a user for each role in the system, named after the role and granted the role.
Note: This module creates user accounts for each of the roles in the system, with an insecure password. It is imperative you do not deploy this module on any system that needs to be secure. Only use for development purposes.
Commands
For more extensive usage documentation, please use drush list and drush help.
- test-users:create
- Creates a user for each role in the system.
- test-users:delete
- Deletes users named after roles. This is not very intelligent at the moment; it will not distinguish between users created by the aforementioned command or users that happen to be named the same as a role.
- test-users:delete-with-role
- Deletes users with a given role. This can be helpful when you have e.g. a test suite add users with a particular role to clean them up in one go. Beware: This deletes all users with the given role, not just users created by this module.
Project information
- Module categories: Developer Tools, Access Control
- 4 sites report using this module
- Created by eelkeblok on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Development version: 1.0.x-dev updated 8 Mar 2023 at 15:29 UTC