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

Initial Setup - Permissions not requested #63

Open
mlsad3 opened this issue Jul 30, 2022 · 4 comments
Open

Initial Setup - Permissions not requested #63

mlsad3 opened this issue Jul 30, 2022 · 4 comments

Comments

@mlsad3
Copy link
Contributor

mlsad3 commented Jul 30, 2022

When I first tried running the sheet (selecting either Process now), it failed, saying it had no permissions to Session.getActiveUser.

So I added Session.getActiveUser().getEmail() as the first line inside function testPermissions() (index.gs file), and this time it popped up asking me to approve access.

I suspect that the async processing is not able to request permissions. ...yet it is strange that I'm the only one hitting this.

@mlsad3
Copy link
Contributor Author

mlsad3 commented Jul 30, 2022

I wonder if this is somewhat related to #61 (which I am also hitting)

@mlsad3
Copy link
Contributor Author

mlsad3 commented Jul 30, 2022

Hmm, I don't hit #61 nor this #63 issue on my personal Google Apps gmail, just on my corporate.

@mlsad3
Copy link
Contributor Author

mlsad3 commented Jul 30, 2022

I'll close this until I can reproduce it.

@mlsad3 mlsad3 closed this as completed Jul 30, 2022
@mlsad3
Copy link
Contributor Author

mlsad3 commented Jul 31, 2022

Okay, this is reproducible. Any new spreadsheet I bring into my corporation gives an error about permissions (yet never asks for permissions.). I have to manually put Session.getActiveUser() inside the Process now task to initiate the permissions window.

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