r/GoogleAppsScript • • Apr 16 '25

Question Limit script permissions to specific files/calendars

I know there's a way to limit the script's permissions to the current spreadsheet, which is half of what I want.

However the script is supposed to update three specific calendars and everything I have found so far implies that the user will have to give permission for the script to access all of their calendars. Which is basically the same as having no security at all.

I haven't started to look into this yet, but I'm also wondering whether it's possible to give a script read permissions to a specific Drive directory?

0 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/krakow81 Apr 17 '25

I was going to look into the manifest options that you mention as well (https://developers.google.com/apps-script/concepts/scopes), hoping that I can figure out enough there to ease my mind at least somewhat.

I'm afraid that I'm a newcomer to this stuff, so can't offer any useful thoughts on the REST API.

Let us know if you do find anything useful.