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

Cannot get fully private sheets with my-spreadsheet, likely regression when reducing initial permissions #409

Open
jpolitz opened this issue Dec 2, 2021 · 0 comments

Comments

@jpolitz
Copy link
Member

jpolitz commented Dec 2, 2021

Create a spreadsheet with create-spreadsheet("some name"), then access it with my-spreadsheet("some name"), the API reports that permission is denied, but reports the ID for the file!

Guess: This is likely a Drive config issue where requests for sheets by ID are being sent without credentials because of the always-haunting #255.

I make this guess because the first step happens – getting the ID for the file by name, which ought to require some permissions to do! Need to poke into that part of the auth code around sheets API stuff. Probably around

// NOTE(joe): The true as a second argument below drills pretty far down

Might need another API entrypoint for "get private sheet by id".

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

No branches or pull requests

1 participant