Skip to content

docs(runtime): complete function → service → OAuth scope table - #572

Merged
MaksymStoianov merged 1 commit into
developfrom
docs/oauth-scopes
Nov 3, 2026
Merged

MaksymStoianov merged 1 commit into
developfrom
docs/oauth-scopes

Conversation

@MaksymStoianov

Copy link
Copy Markdown
Member

The runtime page listed 6 service-dependent functions; the code uses more (createFolder, getTriggerById, getSlide*, admin helpers, writers that take a LockService lock). The page now has a complete function → Apps Script service → minimal OAuth scope table and a section recommending explicit oauthScopes in appsscript.json (narrow alternatives such as drive.file; Admin SDK needs admin.directory.user.readonly). All 5 languages, docs:generate run, heading structure identical.

Note: that LockService and the SpreadsheetApp builders (newTextStyle, …) need no scope should be confirmed once in a real project.

🤖 Generated with Claude Code

The runtime page named six service-bound functions; the library has
more (createFolder, getTriggerById, the slide lookups, the Admin SDK
guards, the locking writers). The table now lists each of them with the
global it calls and the scope that global needs, and a new section
recommends explicit oauthScopes in appsscript.json, with the narrow
*.currentonly scopes, when drive.file is and is not enough, and the
Admin SDK requirements. Updated in all five languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Maksym Stoianov <stoianov.maksym@gmail.com>
@MaksymStoianov
MaksymStoianov merged commit 72f5062 into develop Nov 3, 2026
13 checks passed
@MaksymStoianov
MaksymStoianov deleted the docs/oauth-scopes branch November 3, 2026 17:22
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

Successfully merging this pull request may close these issues.

1 participant