I had to use this on one of our projects. A handy command to quickly assign a user a role in Drupal with Drush:
drush user:role:add administrator --uid=4
I had to use this on one of our projects. A handy command to quickly assign a user a role in Drupal with Drush:
drush user:role:add administrator --uid=4