Updating Drupal Auto Assign Role Module

The Auto Assign Role module of Drupal is designed to provide an automatic role assignment to newly created user accounts. It will also allow users to choose their own role if permitted by the Drupal site administrator. This module can also be used to provide paths that will trigger a specific user role when an account is created.

A new version of the Auto Assign Role module has been released so I updated my 6.x-1.11 version to 6.x-1.2.

Here are the steps in upgrading this module:

  1. From the Linux/Unix console, download the new Auto Assign Role module from the Drupal.org website using the wget or fetch command.
  2. $ wget http://ftp.drupal.org/files/projects/autoassignrole-6.x-1.2.tar.gz
    
  3. Extract the autoassignrole-6.x-1.2.tar.gz file
  4. $ tar xzvf autoassignrole-6.x-1.2.tar.gz
  5. Backup the old Auto assign role module
  6. $ mkdir autoassignrole-old
    $ cp -Rp your/path/to/www/sites/all/modules/autoassignrole/. autoassignrole-old/
    
  7. Replace the old autoassignrole codes with the new autoassignrole codes
  8. $ rm -rf your/path/to/www/sites/all/modules/autoassignrole
    $ mv autoassignrole your/path/to/www/sites/all/modules/.
    
  9. Login to your website as administrator and go to the Module list, Administer -> Modules
  10. Uncheck Auto Assign Role then click Save configuration button
  11. Click Uninstall and uninstall Auto Assign Role
  12. Go back to the Module list and check Auto Assign Role
    Note: The version should now be 6.x-1.2
  13. Click the Save configuration button to install and activate the new version of Auto Assign Role

Since this module could affect the security of your site, it is very important to also perform the following steps to make sure that this upgrade does not compromised your site's security:

  1. Review Auto Assign Role settings, go to Administer -> User Management -> Auto assign role
  2. Review User Permission settings, go to Administer -> User Management -> Permission
  3. You can also try creating/registering new user to check if Auto assign role is working properly.

Related posts:

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.