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?

CommentFileSizeAuthor
#5 services_permissions.patch983 bytessteven merrill

Comments

snelson’s picture

In 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

Chris Charlton’s picture

We applied the user permissions in Drupal's User Access area. That is the spot you're referring to, correct?

bradfordcp’s picture

I 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.

torgospizza’s picture

Does 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.

steven merrill’s picture

StatusFileSize
new983 bytes

I rolled it into a patch. Thanks, torgosPizza.

steven merrill’s picture

Status: Active » Reviewed & tested by the community

Updating issue status.

steven merrill’s picture

Status: Reviewed & tested by the community » Needs review

Sorry guys - long time listener, first time patch submitter. Please review this patch :)

torgospizza’s picture

Status: Needs review » Reviewed & tested by the community

The patch worked for me. Thanks! (I think I got diff working again as well.)

Glad I could help with this one!

robloach’s picture

Title: 1st drupal user is able to see returns from services, but not other users » Administer service user access in testing methods
Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.