Hi Jerome,
I'm looking at using Moodle 2.0 RC2 as a way of more easily getting course details via webservices.
I've followed your directions above, doing the following (let me know if I messed anything up):
- created new role (I called it "webservice")
- gave it all 4 Web Service Capabilities + "Create a web service token" (moodle/webservice:createtoken)
- created a new user
- in admin->users->accounts->browse, edit the new user
- under settings->roles->assign roles, choose the webservice role
I've triple checked and the role is actually assigned. When I check this user's permissions, I don't see the webservice-related permissions that role was supposed to bestow. This may be more of a "I don't know how to use Moodle problem." When I log in as that use, I don't see no securtiy option under my Profile menu. What could I be doing wrong here?
And when you say "3- to be allowed as user on at least one service," are you talking about granting permissions for 4 web service protocols (AMF/REST/SOAP/XML-RPC), or do you mean giving the user permission to access certain functions via the web service? If the latter, how do you do this?
Thanks in advance.
-=Cam