Obsolete
Status Update
Comments
gu...@gmail.com <gu...@gmail.com> #2
This could potentially be because you are using the spreadsheet API *indirectly* either in commented out code or in uncalled functions. Even if you are not using the spreadsheet API, *if* there is a comment that uses the API the scope gets triggered
ka...@gmail.com <ka...@gmail.com> #3
Thank you for your comment. I have tried this situation by using only the script of "function myFunction() {Slides.Presentations.get(presentationId)}" in the project. I thought that "function myFunction() {Slides.Presentations.get(presentationId)}" doesn't include the methods for using Spreadsheet. Is "using the spreadsheet API *indirectly*" you say included in the script?
ti...@google.com <ti...@google.com> #4
If I recall correctly, spreadsheets.readonly is used by some method within "Slides" (embedding a Sheet in a Slide?), so it added to prevent OAuth errors.
In this case, you're not using Sheets so it doesn't make sense to request the scope from the user. Apps Script would need a better scope detector to see if you don't want this scope. Or you could just request explicit scopes.
In this case, you're not using Sheets so it doesn't make sense to request the scope from the user. Apps Script would need a better scope detector to see if you don't want this scope. Or you could just request explicit scopes.
ka...@gmail.com <ka...@gmail.com> #5
Thank you for your comment. I understand about it.
So when I don't use such methods, I would like to remove "spreadsheets.readonly" by Manifests.
So when I don't use such methods, I would like to remove "spreadsheets.readonly" by Manifests.
se...@google.com <se...@google.com> #6
Hi,
I have forwarded this issue internally.
Regards.
is...@google.com <is...@google.com>
jp...@google.com <jp...@google.com>
jp...@google.com <jp...@google.com> #7
To better prioritize work in this issue tracker, I am closing this due to a lack of popularity and because it was created prior to 2018. Feel free to open a new issue and link the old one if it is critical to your particular use case.
Description
When "Slides" of Advanced Google Services is used, "
Detail:
I would like to report a bug for scopes of Slides. The flow of this bug is as follows.
1. Create new Google Apps Script project.
2. At Advanced Google Services, enable "Slides".
3. Here, when you see the scopes at File -> Project properties -> Scopes, you can confirm that there are no scopes.
4. Copy and paste this script. "function myFunction() {Slides.Presentations.get(presentationId)}" and save the project. This script indicates that "Slides" of Advanced Google Services is used in the project.
5. Here, when you see the scopes at File -> Project properties -> Scopes, you can confirm that there are 2 scopes as follows.
It is found that the use of "