Hi, I have downloaded and enabled your module. I tried all CVS versions and the tarball from the project page. None of them work for me even after clearing cache, rebuilding menus, re-installing the module, nothing gets the module to work.

I started digging into the code to see what was wrong. I looked in your hook_menu() and I noticed that you have the following code:

    'admin/settings/gcal' => array(
      'title' => 'GCal Settings',
      'description' => 'Adjust GCal settings.',
      'page callback' => 'drupal_get_form',
      'page arguments' => array('gcal_settings'),
      'access arguments' => array('administer gcal configuration')
    ),

You are checking for the permission "administer gcal configuration", however this permission DOES NOT EXIST in my site's permissions. You have no hook_perm() in this module to create the permission.

I don't think I missed any steps or made any mistakes as I have been using Drupal for awhile and consider myself quite the power user.

Thanks for your time and I look forward to your response.

- Donovan

Comments

dpalmer’s picture

I was able to configure the settings when I devel switched to my super user account. That being said, this non existent permission issue is still here.

aacraig’s picture

You're correct in that it's missing hook_perm.

I'm happy to accept a patch, or else this will be addressed in the next release, which should be this month or early December.

dpalmer’s picture

I'll see if I can find time this weekend to write this patch.

sushantpaste’s picture

Here is the patch for adding permission