Is there a way to have each group (http://drupal.org/project/group) have their own Gdrive connection?

Comments

SocialNicheGuru created an issue.

eugene.ilyin’s picture

Right now it's not possible.
The current behavior is next:
The user connects the Google Drive to his Account in Drupal. His auth token stored in his session, but the refresh token stored in the special table.

Your request requires additional work.
How I see it - it could be a new way of connecting to Google Drive, which will retrieve tokens not for a user, but for a group.

If somebody wants to prepare a patch, I could include it. I think it could be not difficult.

socialnicheguru’s picture

Google will always associate the token with a user.
So let's continue to have a user connect it to his/her account
Allow a person to create a folder in Google Drive that can then be connected to a group created via the group module. This would mean that access could be granted to that group folder.

In addition it would be great if it was fieldable meaning that there is a field_droogle field that holds the admin settings. Once I fill in the settings which are presently on the droogle admin page, then the field would hold the Google Drive. Possibly as an iframe (drupal.org/project/iframe).

socialnicheguru’s picture

Use views to render the Gdrive and allow Drupal/Gdrive access permissions to dictate access