LesterCovax / crypto-sheets

Google Sheets script editor code for managing a cryptocurrency tracking spreadsheet
https://www.reddit.com/r/cryptosheets
GNU General Public License v3.0
475 stars 70 forks source link

Script permission security issue #30

Closed TommySollen closed 6 years ago

TommySollen commented 6 years ago

When trying to add the getdata trigger the document owner is asked to approve the following permissions:

Does this in fact mean the script has access to all the owner's spreadsheets?

ddarbs commented 6 years ago

@saitei @solifugo

Adding the below snippet to the top of the script will change this, #31

/**
 * @OnlyCurrentDoc
 */

https://developers.google.com/apps-script/guides/services/authorization

LesterCovax commented 6 years ago

Fixed in #31