GAS: This application was created by another user,

2019-07-22 19:25发布

I have made a script that is running as a 'Apps Script Gadget' in Google Sites. The script has access to my email and calender etc. because I need notifications if someone has used my script.

When I go to the site as "noname" user I get the message "This application was created by another user, not by Google. This application has access to the following personal information: email address." How do I get rid of this, the user is not interested if the script sends me a email or not.

Thank you for any advises.

2条回答
趁早两清
2楼-- · 2019-07-22 20:12

If your script is not reliant on any of the users' information, I would suggest when deploying the web app to "Execute the app as" me. In the Publish > Deploy As Web App... pop-up, there's a dropdown for this.

查看更多
We Are One
3楼-- · 2019-07-22 20:14

Same thing happened to me; I commented out all references to the Session object but I still got the popup message.

When I removed the commented code entirely and re-published, everything worked fine. The message about access to the email info was gone.

I guess the google code holds onto an internal library reference even if there is commented code. Does not make much sense to me. But hope this helps.

查看更多
登录 后发表回答