Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be useful for new QA accounts to be automatically created when user roles are added. On deploys, it would save from having to run the drush command or uninstall/reinstall the module after deploy.
Automatic deletion of QA accounts when the corresponding roles are deleted would be a useful feature as well.
There probably should be configuration involved so that automatic account creation and deletion are opt in.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3042450-2.patch | 16.56 KB | godotislate |
Comments
Comment #2
godotislate CreditAttribution: godotislate commentedHere is a patch.
This wound up being a bit of a refactor to move a lot of the functionality into a service, in order to consolidate code.
Comment #3
godotislate CreditAttribution: godotislate commentedComment #5
Dane Powell CreditAttribution: Dane Powell at Acquia commentedThanks for the patch!