Index: CHANGELOG.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/autoassignrole/CHANGELOG.txt,v
retrieving revision 1.9
diff -u -p -r1.9 CHANGELOG.txt
--- CHANGELOG.txt	28 Oct 2010 19:40:08 -0000	1.9
+++ CHANGELOG.txt	5 Nov 2010 16:41:23 -0000
@@ -2,13 +2,14 @@
 
 autoassignrole 7.0, xxxx-xx-xx (development version)
 ------------------------
-- [#937468] Use Case - Administrator enables/disables automatic assignment.
+- [#945010] Administrator sets a fieldset title for roles exposed to end user.
+- [#944988] Administrator toggles sort order of roles exposed to an end user.
+- [#944978] Administrator toggles if user selection of roles is required.
+- [#944974] Administrator sets the selection method of roles for an end user.
+- [#944944] Administrator toggles letting user select multiple roles.
+- [#944922] Administrator sets roles that will be visible to the end user.
+- [#944880] Administrator toggles allowing user to select role.
+- [#937678] Use Case - Administrator sets roles for automatic assignment.
 - [#937666] Use Case - Administrator enables/disables automatic assignment of
   admin created accounts.
-- [#937678] Use Case - Administrator sets roles for automatic assignment.
-- [#944880] Administrator toggles allowing user to select role.
-- [#944922] Administrator sets roles that will be visible to the end user.
-- [#944944] Administrator toggles letting user select multiple roles.
-- [#944974] Administrator sets the selection method of roles for an end user.
-- [#944978] Administrator toggles if user selection of roles is required.
-- [#944988] Administrator toggles sort order of roles exposed to an end user.
+- [#937468] Use Case - Administrator enables/disables automatic assignment.
Index: autoassignrole.admin.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/autoassignrole/autoassignrole.admin.inc,v
retrieving revision 1.8
diff -u -p -r1.8 autoassignrole.admin.inc
--- autoassignrole.admin.inc	28 Oct 2010 19:40:08 -0000	1.8
+++ autoassignrole.admin.inc	5 Nov 2010 16:41:23 -0000
@@ -142,5 +142,14 @@ function autoassignrole_user_settings() 
     ),
   );
 
+  $form['autoassignrole_user_fieldset_title'] = array(
+    '#type' => 'textfield',
+    '#title' => t('User Role Fieldset Title'),
+    '#description' => t('The title of the fieldset that contains role options.'),
+    '#default_value' => variable_get('autoassignrole_user_fieldset_title', t('User Roles')),
+    '#size' => 60,
+    '#maxlength' => 128
+  );
+
   return system_settings_form($form);
 }
Index: autoassignrole.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/autoassignrole/autoassignrole.test,v
retrieving revision 1.9
diff -u -p -r1.9 autoassignrole.test
--- autoassignrole.test	28 Oct 2010 19:40:08 -0000	1.9
+++ autoassignrole.test	5 Nov 2010 16:41:23 -0000
@@ -441,4 +441,36 @@ class AutoassignroleAdminSettingsTestCas
       'autoassignrole_user_sort has been set to SORT_DESC'
     );
   }
+
+/**
+ * Test admin setting functionality for autoassignrole_user_selection.
+ * @see http://drupal.org/node/945010
+ */
+  function testAdminUserFieldsetTitleSettings() {
+    // Create a new user who can access the administration settings
+    $this->drupalLogin($this->admin_user);
+
+    // Check that the user can see the admin settings page.
+    $this->drupalGet('admin/config/autoassignrole/user');
+    $this->assertField(
+     'autoassignrole_user_fieldset_title',
+     'The autoassignrole_user_fieldset_title field is accessible.'
+    );
+
+    // Set autoassignrole_user_fieldset_title to a random string.
+    $random_string = $this->randomName();
+    $edit['autoassignrole_user_fieldset_title'] = $random_string;
+    $this->drupalPost(
+      'admin/config/autoassignrole/user',
+      $edit,
+      t('Save configuration')
+    );
+
+    // Verify autoassignrole_user_fieldset_title has been saved.
+    $this->assertEqual(
+      variable_get('autoassignrole_user_fieldset_title', -1),
+      $random_string,
+      'autoassignrole_user_fieldset_title has been set to random string'
+    );
+  }
 }
