When enabling Services 0.14 for the first time, the Keys do not show up.
travist - June 28, 2009 - 15:35
| Project: | Services |
| Version: | 6.x-0.14 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | travist |
| Status: | closed |
Jump to:
Description
When you install and enable the Services 0.14 for the first time, the Keys section is not showing up. The reason for this is because the Uses Key checkbox and the authorization check are not synched with the same initial values. I have included the patch to fix this. I would be very appreciative if a new version is released very soon with this fix since I wrote a book that uses this module and am getting many support requests to fix this issue.
The fix is very simple... .simply change line 150 from this...
function services_auth_access() {
return user_access('administer services') && variable_get('services_use_key', FALSE);
}To this...
function services_auth_access() {
return user_access('administer services') && variable_get('services_use_key', TRUE);
}Thanks for your attention to this.
Travis.
| Attachment | Size |
|---|---|
| services_patch.patch | 447 bytes |

#1
#2
How is this by design? This breaks the Keys tab from showing up when they first install the module. I beg for you to reconsider that this might be an issue.
Thanks,
Travis.
#3
You need to enable key as an option on the settings page and set services to use keys. Hence by design it isn't a bug it works as intended.
#4
Ah I see what you mean now - sorry about my confussion. This fix has been applied to 6-x-2-dev. And applied to 6.x-1-dev.
#5
Thanks Marc.
When do you think you will be releasing a version 0.15 with this fix? I am normally not so annoying about this, but it is really confusing for the user when they first try out this module and are unable to create a key. As of right now, I am getting many requests a day about this and it would be very cool to get a quick release with this patch in place. Of course, if that is not possible, I understand and will just continue to respond with my copy-n-paste email response.
Please let me know if there is anything I can do to help.
Thanks for your quick attention to this,
Travis.
#6
I'm going to a version up later today or tomorrow.
#7
Again Marc,
Thank you so much for your attention to this. It is very much appreciated.
Thanks,
Travis.
#8
Hey Marc,
I was just checking on the status of the 0.15 release? Please let me know when you think this will be available for download so that I can let people know when to expect it.
Thanks for your efforts.
Travis.
#9
Sorry I have been really busy this week - I'm at drupalcamp alberta for the next couple of days so hopefully I will find a spare 30 minutes to roll a release.
#10
Release has been rolled.
#11
Automatically closed -- issue fixed for 2 weeks with no activity.