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
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Unable_to_Configurage_GCal_due_to_Non_Existant_Permission-972490-#4.patch | 368 bytes | sushantpaste |
Comments
Comment #1
dpalmer commentedI 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.
Comment #2
aacraig commentedYou'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.
Comment #3
dpalmer commentedI'll see if I can find time this weekend to write this patch.
Comment #4
sushantpasteHere is the patch for adding permission