We're trying to figure out why the default/first user, who installed Drupal, is the only one who can see the returns in the Service module browser?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | services_permissions.patch | 983 bytes | steven merrill |
We're trying to figure out why the default/first user, who installed Drupal, is the only one who can see the returns in the Service module browser?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | services_permissions.patch | 983 bytes | steven merrill |
Comments
Comment #1
snelson commentedIn case you haven't solved this by now, Services adds some user access permissions that need to be set in order to give access to anyone other than admin.
Scott
Comment #2
Chris CharltonWe applied the user permissions in Drupal's User Access area. That is the spot you're referring to, correct?
Comment #3
bradfordcp commentedI can confirm this, I have a "developer" role which has all permissions enabled and the users in that role are not able to use the services section of the admin panel. For example filling in a valid nid at "admin/build/services/browse/node.load" then selecting "Call Method" returns no results, just the form from the previous page.
Comment #4
torgospizzaDoes anyone else have this issue? I just installed all of the Services modules, same as everyone before me - permissions all look correct. Built a Flex module based on the examples here on Drupal.org and Flex.org, but no results get returned; nor do results get returned in the Admin "Browse" area.
Anyone with insight, if you can help it'd be greatly appreciated!
UPDATE: I fixed the issue, but diff doesn't work for me so I can't submit a batch. Open the file services_admin_browse.inc and do a search-replace for:
user_access('test methods')
Replace that with:
user_access('administer services')
And the results will be displayed. Hope this helps anyone in the future.
Comment #5
steven merrill commentedI rolled it into a patch. Thanks, torgosPizza.
Comment #6
steven merrill commentedUpdating issue status.
Comment #7
steven merrill commentedSorry guys - long time listener, first time patch submitter. Please review this patch :)
Comment #8
torgospizzaThe patch worked for me. Thanks! (I think I got diff working again as well.)
Glad I could help with this one!
Comment #9
robloachhttp://drupal.org/cvs?commit=95008
Thanks!
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.