Google Drive Repository - Shared Drives

Google Drive Repository - Shared Drives

by Jon Witts -
Number of replies: 6
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

This was discussed some time ago with no resolution here: https://moodle.org/mod/forum/discuss.php?d=361641

However; it has come back round and is starting to cause us real issues at school... We are a Google School and all of our teachers are collaborating using Google Docs and saving their files into departmental Shared Drives in Google... However the Google Drive Repository does not support Shared Drives... 

There is this tracker report MDL-61768 but it has, seemingly, had no activity since June 2018...

I have tried to get the repository to show Shared Drives as well as My Drive but my PHP skills are coming up short... Is there a dev who could lend a hand with this? Getting access to Google Shared Drives would be a massive game changing for us; and I would imagine many of schools using Google for their online storage...

Jon

Average of ratings: -
In reply to Jon Witts

Re: Google Drive Repository - Shared Drives

by Ken Task -
Picture of Particularly helpful Moodlers

Dunno if this is related to your set up or not ... but Google had a rare issue:

Starting around 11 AM Eastern Time, Google services, including Gmail, YouTube, Hangouts, and Docs, began having problems in the Eastern US.

https://www.zdnet.com/article/is-google-down-users-reporting-sporadic-outages/


Router went down.

https://status.cloud.google.com/

'SoS', Ken

In reply to Ken Task

Re: Google Drive Repository - Shared Drives

by Jon Witts -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hi Ken,

Unfortunately this nothing to do with a Google outage... The Google Drive repository on Moodle has never been coded to handle Shared (used to be known as Team) Drives... It's a real shame as it makes the whole file repository next to useless for our teachers... sad

Jon
In reply to Jon Witts

Re: Google Drive Repository - Shared Drives

by Ken Task -
Picture of Particularly helpful Moodlers

In that case ... some dumb questions ...

Does your faculty authenticate into your Moodle via Oauth2 Google?

In that set up are you using a system account? and scopes that have drive api url?

Much is controlled on the Google end.

Have you seen/reviewed:
https://support.google.com/a/users/answer/9283051?hl=en

and clip from the 'hype' ;)

Store, share, and access team resources from anywhere in the world"

Want an easy way to securely store and share your team’s resources? Save all your team’s files in one folder in Google Drive or shared drives, and share them instantly. When someone makes a change, Drive shows you what files have changed. Team members can securely access the latest files on any device, at any time.

and the "Learn how" links
Drive:
https://support.google.com/a/users/answer/9310458
Shared drives:
https://support.google.com/a/users/answer/9310154
See changes in files
https://support.google.com/a/users/answer/9305987?hl=en&ref_topic=9296546

No, I've not done an EDU (had access to a k12 at one time, but retirement and new Tech Director, etc. ended that) ... do have a Google for an ORG ... not an EDU.  They are 'different beast'! :|

'SoS', Ken

In reply to Ken Task

Re: Google Drive Repository - Shared Drives

by Jon Witts -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hi Ken,

I spent most of yesterday playing with the code in the googledocs repository in Moodle... This is definitely a coding issue in the Moodle repository and nothing to do with Google...

"My Drive" in Google is seen as the root folder and Shared Drives exist alongside "My Drive"; applications that interact with the Google Drive API need to specifically be coded to work with Shared Drives; the Moodle googledoc repository is not coded in that way...

Our oAuth2 and Google system account are all set up and linked correctly in Moodle and all documented features of the Google integration with Moodle work as expected. The issue is that our users cannot access their resources in Drive as they are saved in Shared Drives and not "My Drive". The only way that this is going to be possible is with a rewrite of the Moodle googledoc repository... However this has appeared to fall on deaf ears for quite some time now!

Thanks,
Jon
In reply to Jon Witts

Re: Google Drive Repository - Shared Drives

by Ken Task -
Picture of Particularly helpful Moodlers
In reply to Ken Task

Re: Google Drive Repository - Shared Drives

by Atul Mehta -

Is this resolved? I created a shortcut as suggested by Ken. But the shortcuts are not visible while selecting files.