Index: modules/contact/contact.install =================================================================== RCS file: /cvs/drupal/drupal/modules/contact/contact.install,v retrieving revision 1.19 diff -u -p -r1.19 contact.install --- modules/contact/contact.install 9 Oct 2009 02:54:10 -0000 1.19 +++ modules/contact/contact.install 11 Oct 2009 22:14:32 -0000 @@ -113,6 +113,16 @@ function contact_update_7001() { } /** + * Enable the 'access user contact forms' for registered users by default. + */ +function contact_update_7002() { + db_merge('role_permission') + ->keys(array('rid' => DRUPAL_AUTHENTICATED_RID)) + ->fields(array('permission' => 'access user contact forms')) + ->execute(); +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */