Skip to content
Snippets Groups Projects
Commit 5f38548b authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #601250 Dave Reid, andypost: upgrade path for contact form permission.

parent 8d3eaa1c
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -112,6 +112,13 @@ function contact_update_7001() {
->execute();
}
/**
* Enable the 'access user contact forms' for registered users by default.
*/
function contact_update_7002() {
user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access user contact forms'));
}
/**
* @} End of "defgroup updates-6.x-to-7.x"
* The next series of updates should start at 8000.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment