简体   繁体   中英

Google Scripts in Spreadsheet

Is there a way to have a spreadsheet in Google Drive where the script is protected from modification / editing? Does anyone know if that is an option in the Script editor?

Another thing I'd like to ask. How does one do source control for the codes in their Google scripts?

Thanks.

WRT privacy / protection of scripts: Refer to the comments and answers on this question: How to protect the Apps Script code in a Google spreadsheet? .

Source Control? See Backing up Gapps source . The version tracking in the script editor is rudimentary, so you should consider doing source control outside - you'll have to get used to copy & paste.

No you can't do it.

The script runs with the document permissions.

If you have Edit permissions on the document, you have edit permission on the script too.

Here's the Google spreadsheet developer guide.

https://developers.google.com/apps-script/reference/spreadsheet/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM