I added a hook_perm to try and fix this so that user permissions can be set. Please see attached patch file.

Comments

ayang’s picture

westwesterson’s picture

this is the code needed for d7

/**
 * Implements hook_permission().
 */
function contact_google_analytics_permission() {
  return array(
    'administer contact google analytics' => array(
      'title' => 'Administer contact google analytics',
      'description' => 'Administer settings for contact google analytics.',
    ),
  );
}
EvanDonovan’s picture

Version: 6.x-1.4 » 7.x-1.x-dev
Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Code in #2 works perfectly.

EvanDonovan’s picture

Visual inspection of the 6.x code looks correct as well.