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.

CommentFileSizeAuthor
#2 3042450-2.patch16.56 KBgodotislate
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

godotislate created an issue. See original summary.

godotislate’s picture

FileSize
16.56 KB

Here 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.

godotislate’s picture

Status: Active » Needs review

Dane Powell’s picture

Status: Needs review » Fixed

Thanks for the patch!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.