Google Drive repository: Difference between revisions
From MoodleDocs
Helen Foster (talk | contribs) (→Enabling the Google Drive repository: updated instructions for 3.3 (MDL-58220)) |
Helen Foster (talk | contribs) |
||
Line 38: | Line 38: | ||
[[Category:Site administration]] | [[Category:Site administration]] | ||
[[Category:OAuth 2]] | |||
[[de:Google Drive Repository]] | [[de:Google Drive Repository]] | ||
[[es:Repositorio Google Drive]] | [[es:Repositorio Google Drive]] |
Revision as of 09:55, 14 May 2017
Google Drive can serve both as a repository from which users can "pull" files they need for their course and also a portfolio into which they can "push" files they want to keep. Both options need to be enabled by the administrator before they are available for teachers and students.
Enabling the Google Drive repository
To use the Google Drive repository, an administrator must first create a Google service (a new requirement in Moodle 3.3 onwards).
- Go to 'OAuth 2 services' in Site administration and click the button to create a new Google service.
- Follow the instructions in OAuth 2 Google service and obtain a client ID and secret.
- Enter the client ID and secret and save changes.
- Go to 'Manage repositories' in Site administration and enable the Google Drive repository.
- On the Google Drive configuration page, make sure that Google is selected as the OAuth 2 service then save changes.
Getting ("pulling") your files from Google Drive
- From the file picker, click on the Google Drive link and a prompt to log in will appear:
- If it is your first time, the click the "Allow access" button to log in
- Your files will display for you to choose from.
- You can view them in three ways by clicking one of the options at the top right.
Repository capabilities
There is just one capability, View Google Drive repository, which is allowed for the default authenticated user role.