Google Apps Script - Deploy as web app - now requires me to “Share” the the code

醉酒当歌 提交于 2020-01-01 19:24:08

问题


I recently made a simple change to an google app script - once I re-deployed, you can access whichever page is in the:

var t = HtmlService.createTemplateFromFile('my1');

But any subsequent attempts to open a different html page by clicking a button with a link, will display "Google Drive - Access Denied" / "Google Drive, You need permission..."

I tested also, by creating a VERY simple web app, that does not attemp to access any google 'sheets', drive, or any other API, and get the same result - is the "Publish - Deploy as web app" broken?

来源:https://stackoverflow.com/questions/49784884/google-apps-script-deploy-as-web-app-now-requires-me-to-share-the-the-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!