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

google permissions #160

Open
bgbruno opened this issue Jun 16, 2022 · 1 comment
Open

google permissions #160

bgbruno opened this issue Jun 16, 2022 · 1 comment

Comments

@bgbruno
Copy link

bgbruno commented Jun 16, 2022

issue
it wants all permissions to manipulate with all "gdrive sheets"

solution
change permission to "manipulate only with current document"
https://developers.google.com/apps-script/add-ons/concepts/editor-scopes#setting_explicit_scopes

{
  ...
  "oauthScopes": [
    "https://www.googleapis.com/auth/script.container.ui",
    "https://www.googleapis.com/auth/spreadsheets.currentonly"
  ],
  ...
}
@bgbruno bgbruno changed the title permissions google permissions Jun 16, 2022
@reedv
Copy link

reedv commented Oct 18, 2023

What functions of cheeriogs are you trying to restrict with that "https://www.googleapis.com/auth/script.container.ui" oauthScope?

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

2 participants