You are here

function webform_update_7420 in Webform 7.4

Extend access to the WEBFORM tab to anyone who can access the node's EDIT tab.

File

./webform.install, line 2096
Webform module install/schema hooks.

Code

function webform_update_7420() {
  user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array(
    'edit webform components',
  ));
}