... | ... | @@ -15,73 +15,73 @@ Moodle 2.6+ instructions |
|
|
|
|
|
3.3 Create a specific user:
|
|
|
|
|
|
— 3.3.1 Enter a Username
|
|
|
— Enter a Username
|
|
|
|
|
|
— 3.3.2 Choose an authentication method: _Web services authentication_
|
|
|
— Choose an authentication method: _Web services authentication_
|
|
|
|
|
|
— 3.3.3 Enter a Password if required / possible
|
|
|
— Enter a Password if required / possible
|
|
|
|
|
|
— 3.3.4 Enter a First name, Surname & Email address
|
|
|
— Enter a First name, Surname & Email address
|
|
|
|
|
|
— 3.3.5 Click _Create user_
|
|
|
— Click _Create user_
|
|
|
|
|
|
3.4 Create a Web Service role (Administration > Site administration > Users > Permissions > Define roles)
|
|
|
|
|
|
— 3.4.1 Click _Add a new role_
|
|
|
— Click _Add a new role_
|
|
|
|
|
|
— 3.4.2 Use role or archetype: _No role_, click Continue
|
|
|
— Use role or archetype: _No role_, click Continue
|
|
|
|
|
|
— 3.4.3 Enter the role name
|
|
|
— Enter the role name
|
|
|
|
|
|
— 3.4.4 Context types where this role may be assigned: check _System_
|
|
|
— Context types where this role may be assigned: check _System_
|
|
|
|
|
|
— 3.4.5 Select _Manager_, _Teacher_, _Student_ & _Parent_ for Allow role assignments
|
|
|
— Select _Manager_, _Teacher_, _Student_ & _Parent_ for Allow role assignments
|
|
|
|
|
|
— 3.4.6 Check _Allow_ for the following capabilities (you can find them using ``CTRL + F``): see [list at the bottom of page](#capabilities)
|
|
|
— Check _Allow_ for the following capabilities (you can find them using ``CTRL + F``): see [list at the bottom of page](#capabilities)
|
|
|
|
|
|
— 3.4.7 Click _Create this role_
|
|
|
— Click _Create this role_
|
|
|
|
|
|
3.5 Assign Web Service role (Administration > Site administration > Users > Permissions > Assign system roles)
|
|
|
|
|
|
— 3.5.1 Click the Web Service role
|
|
|
— Click the Web Service role
|
|
|
|
|
|
— 3.5.2 Select the Web Service user in Potential users
|
|
|
— Select the Web Service user in Potential users
|
|
|
|
|
|
— 3.5.3 Click _Add_
|
|
|
— Click _Add_
|
|
|
|
|
|
3.6 Select a service (Administration > Site administration > Plugins > Web services > Overview)
|
|
|
|
|
|
— 3.6.1 Click _Add_ in External services
|
|
|
— Click _Add_ in External services
|
|
|
|
|
|
— 3.6.2 Name the External service
|
|
|
— Name the External service
|
|
|
|
|
|
— 3.6.3 Check _Enabled_ and _Authorised users only_
|
|
|
— Check _Enabled_ and _Authorised users only_
|
|
|
|
|
|
— 3.6.4 Click _Add service_ (go back to Overview)
|
|
|
— Click _Add service_ (go back to Overview)
|
|
|
|
|
|
3.7 Add functions
|
|
|
|
|
|
— 3.7.1 Click _Functions_ link of the external service and then Add funtions
|
|
|
— Click _Functions_ link of the external service and then Add funtions
|
|
|
|
|
|
— 3.7.2 Select all the functions except the deprecated ones
|
|
|
— Select all the functions except the deprecated ones
|
|
|
|
|
|
— 3.7.3 Click _Add functions_ (go back to Overview)
|
|
|
— Click _Add functions_ (go back to Overview)
|
|
|
|
|
|
3.8 Select a specific user
|
|
|
|
|
|
— 3.8.1 Click _Authorised users_ link of the external service
|
|
|
— Click _Authorised users_ link of the external service
|
|
|
|
|
|
— 3.8.2 Select the Web Service user in _Not authorised users_
|
|
|
— Select the Web Service user in _Not authorised users_
|
|
|
|
|
|
— 3.8.3 Click _Add_ (go back to Overview)
|
|
|
— Click _Add_ (go back to Overview)
|
|
|
|
|
|
3.9 Create a token (Administration > Site administration > Plugins > Web services > Manage tokens)
|
|
|
|
|
|
— 3.9.1 Select the Web service user and the Web service created earlier
|
|
|
— Select the Web service user and the Web service created earlier
|
|
|
|
|
|
— 3.9.2 Click _Save changes_
|
|
|
— Click _Save changes_
|
|
|
|
|
|
— 3.9.3 Copy the token (ie.: ``639a6beb1992512e44bc69daffd078e3``)
|
|
|
— Copy the token (ie.: ``639a6beb1992512e44bc69daffd078e3``)
|
|
|
|
|
|
|
|
|
|
... | ... | @@ -89,11 +89,11 @@ Moodle 2.6+ instructions |
|
|
|
|
|
4.1 Go to School Setup > School Configuration
|
|
|
|
|
|
— 4.1.1 Click _Plugins_
|
|
|
— Click _Plugins_
|
|
|
|
|
|
— 4.1.2 Click _Activate_ on the Moodle plugin line
|
|
|
— Click _Activate_ on the Moodle plugin line
|
|
|
|
|
|
— 4.1.3 Click _Configure_ on the Moodle plugin line
|
|
|
— Click _Configure_ on the Moodle plugin line
|
|
|
|
|
|
4.2 Enter the Moodle URL (internet address you use to access Moodle)
|
|
|
|
... | ... | |