Can not create Token: The user hasn't the required capability

Can not create Token: The user hasn't the required capability

by Paul Murray -
Number of replies: 1

Dear All


I am attempting to follow the workflow as outlined here:


http://www.joomdle.com/wiki/Preparing_Moodle_20#Activate_Moodle.27s_Network_Authentication


It all starts essentiay with step 03 and goes through to step 10.

I have checked and double checked and only find a mistake at step 10!


The error that I am seeing is


“The user hasn't the required capability to use this service”


***SOME THING BREAKS DOWN HERE AT THE LATEST***

How do I add these missing capabilities?


If any one could give me any insights into what I am doing here I would be very grateful


thanks


Paul


ps a more detailed explanation follows!!!



01) Moodle 2 Prerequisites


***CHECKED*** Installed & activated



02) Setting up Moodle Web services


This brings you to a place where it is easier to access the following!



03) Enable web services


Dashboard / ▶︎Site administration / ▶︎Search results


***CHECKED*** Enable web services enabled = Yes.



04) Enable_protocols Serivces & XMLPC


Dashboard / ▶︎Site administration / ▶︎Plugins / ▶︎Web services / ▶︎Manage protocols

***CHECKED*** Protocols: XMLRPC = Enabled



05) Create a new users


Dashboard / ▶︎Users / ▶︎Joomdle Conn / ▶︎View profile


User Name: joomdle_conn

Password:

Email:

etc: YES


***CHECKED*** Dedicated User for Joomdle connection has been created = joomdle_conn



6) Check user capability


***APPEARS TO BE THE NEXT STEP***



6.1) Check User Permisions


Dashboard / ▶︎Site administration / ▶︎Users / ▶︎Permissions / ▶︎Check system permissions

Web service: XML-RPC protocol

Use XML-RPC protocol

webservice/xmlrpc:use

Yes


***CHECKED*** Both are ALLOWED



6.2) Define New Role to manage access to Joomla Webservices


Dashboard / ▶︎Site administration / ▶︎Users / ▶︎Permissions / ▶︎Define roles

Add Role and name it: Web Services Manager: YES


Context types: System is selected: YES


Web service: XML-RPC protocol

Use XML-RPC protocol

webservice/xmlrpc:use

Allow


View discussions

mod/forum:viewdiscussion Allow


***CHECKED***  Both of the above are allowed.



06.3) Assign user to Role: Joomla Webservices


Dashboard / ▶︎ Site administration / ▶︎ Users / ▶︎ Permissions / ▶︎ Assign system roles


Web Services Manager This guys role is to connect with Joomdle 1 Joomdle Conn


***CHECKED*** User “Joomdle Conn” assigned to Role “Web Services Manager”

 


07) Add a new Service


http://www.joomdle.com/wiki/Preparing_Moodle_20#Add_a_new_service


Dashboard /  ▶︎Site administration /  ▶︎Plugins / ▶︎Web services / ▶︎External services /  ▶︎External service


***CHECKED*** “Joomdle External Services” created and enabled! YES



08) Add functions

Dashboard / ▶︎Site administration / ▶︎Plugins / ▶︎Web services / ▶︎External services / ▶︎Functions


for: “Joomdle External Services”


When I go to the “Functions” settings for “Joomdle External Services” I see a total of 131 “Joomdle” functions.

Starting with:

joomdle_add_cohort_member

and ending with:

joomdle_user_id


I believe that I followed the instructions here at some point: 

http://www.joomdle.com/wiki/Installing_Joomdle_in_Moodle_2#Add_functions_to_service


***CHECKED*** Appears to add up.



09) Add a user for the selected Service:


Dashboard / ▶︎Site administration / ▶︎Plugins / ▶︎Web services / ▶︎External services / ▶︎Authorised users


***CHECKED**** Select authorised users: Authorised users (1) = Joomdle Conn



10) Create a token for the authorised user: Joomdle Conn

http://www.joomdle.com/wiki/Preparing_Moodle_20#Create_token

Dashboard / ▶︎Site administration / ▶︎Plugins / ▶︎Web services / ▶︎Manage tokens


Create token: Token: Joomdle Conn


The user hasn't the required capability to use this service

More information about this error

The link brings me to a page that does not yet exist.


***SOME THING BREAKS DOWN HERE AT THE LATEST***

How do I add these missing capabilities?


Again, if any one has ideas pointers I would be very grateful.


thanks in advance

Paul

Average of ratings: -