Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support sharing and requesting access to sheets #54

Merged
merged 10 commits into from
Aug 24, 2018
Merged

Conversation

dhleong
Copy link
Owner

@dhleong dhleong commented Aug 23, 2018

Right now we only support read-only mode, but it's a start. Attempting write to a shared file just now results in a 403 error that looks like:

The user has not granted the app <app-id> write access to the file <file-id>

In this case, my user was granted access to the file as an editor, so my user can theoretically edit the file—it's just that I only have the drive.readonly access to it. This works out nicely, though; we should be able to use that as a cue to prompt the user to grant full drive permissions in order to act as a GM.

I'll open a separate ticket for write-access sharing (#53), since we may want to try to do live updates as part of that, and another ticket for Drive UI integration (#55), which will make sharing a bit smoother (hopefully it will let users open files directly from the "sharable link").

@dhleong dhleong merged commit 57cb227 into master Aug 24, 2018
@dhleong dhleong deleted the dhleong/sharing branch August 24, 2018 00:20
@dhleong dhleong mentioned this pull request Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant