- Posts: 61
Joomdle 1.0 Installation
Can not create Token:The user hasn't the required capability
- paurray
-
Topic Author
- Offline
- Senior Member
-
Less
More
9 years 9 months ago #1
by paurray
Can not create Token:The user hasn't the required capability was created by paurray
Hello
I am having another go at this here:
www.joomdle.com/wiki/Preparing_Moodle_20...twork_Authentication
The error that I am seeing is at step 10 is as follows:
“The user hasn't the required capability to use this service”
***SOME THING BREAKS DOWN HERE AT THE LATEST***
Any ideas what I am doing wrong/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 me to the 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
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:
www.joomdle.com/wiki/Installing_Joomdle_...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
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?
I would be very great full for any thoughts?
best
Paul
I am having another go at this here:
www.joomdle.com/wiki/Preparing_Moodle_20...twork_Authentication
The error that I am seeing is at step 10 is as follows:
“The user hasn't the required capability to use this service”
***SOME THING BREAKS DOWN HERE AT THE LATEST***
Any ideas what I am doing wrong/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 me to the 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
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:
www.joomdle.com/wiki/Installing_Joomdle_...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
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?
I would be very great full for any thoughts?
best
Paul
Please Log in or Create an account to join the conversation.
- paurray
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 61
9 years 9 months ago #2
by paurray
Replied by paurray on topic Can not create Token:The user hasn't the required capability
This here saved me at the end of the day:
moodle.org/mod/forum/discuss.php?d=229427
Integration now working :woohoo:
moodle.org/mod/forum/discuss.php?d=229427
Integration now working :woohoo:
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 9 months ago #3
by Antonio Durán
Replied by Antonio Durán on topic Can not create Token:The user hasn't the required capability
We are glad to know that you got it working.
Thank you very much for posting the final solution. I am sure it will help others that might encounter the same problem.
Thank you very much for posting the final solution. I am sure it will help others that might encounter the same problem.
Please Log in or Create an account to join the conversation.