Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
With Services 3 coming along, is it worth splitting userpoints service into a separate module which can support the current major two versions of services?
The patch is wrong, you are allowing access to everyone, without any authentication. Instead, you should either use existing permissions (administer userpoints) or define now ones and check these in the access callback.
Everything else should be taken care of by services.module (authentication and so on).
Comments
Comment #1
adub commentedSpecifically, see http://drupal.org/node/800590
With Services 3 coming along, is it worth splitting userpoints service into a separate module which can support the current major two versions of services?
Comment #2
shenzhuxi commentedA quick patch just for fix all the access deny.
For security, use key to change the points please.
Comment #3
rlustemberg commentedHi shenzhuxi:
Thanks a lot for your patch. It is crucial to make the userpoints service work. It should be pushed to Main.
Thanks again!
Comment #4
berdirThe patch is wrong, you are allowing access to everyone, without any authentication. Instead, you should either use existing permissions (administer userpoints) or define now ones and check these in the access callback.
Everything else should be taken care of by services.module (authentication and so on).
Comment #5
manuel.adanClosing this as outdated, 6.x version is no longer maintained.
Comment #6
avpaderno