5 posts tagged with “permissions”

Get File Access

getFileAccess(fileId) returns the access the script's effective user has on a Drive file or folder: 'edit', 'comment', 'view', or 'none…

Remove Access In Folder

removeAccessInFolder(folderId, email, opts) looks at every file in a Drive folder and removes that person as an editor or viewer. It…

Protect Row For Editors

protectRowForEditors(sheet, row, keepEmails) locks one row so only the people you list (and you) can edit it. If the row already has a…

Share File With Email

Sharing from a script is one line, until the job runs twice and the client gets two “shared with you” emails. shareFileWithEmail…