[英]How to give users access to app script managed by a GCP Project
I have an app script linked to a spreadsheet that has a few functions to automate some processes for users.我有一个链接到电子表格的应用程序脚本,该电子表格具有一些功能可以为用户自动执行某些流程。 I recently updated the project to be linked to a standard GCP project I created so I could create OAuth credentials for an unrelated process in this script.
我最近更新了项目以链接到我创建的标准 GCP 项目,这样我就可以在此脚本中为不相关的进程创建 OAuth 凭据。 However, now when users go to run the functions, they get a 403. Is there a place in the GCP console where I can give them access?
但是,现在当用户 go 运行这些功能时,他们会收到 403。GCP 控制台中是否有我可以授予他们访问权限的地方? I am not using any OAuth credentials for these functions.
我没有为这些功能使用任何 OAuth 凭证。 Just the standard app script interactions with the Google Sheet.
只是与 Google 表格的标准应用脚本交互。
You have to configure the OAuth Consent Screen as is explained in the official docs about link a Google Apps Script project to a standard Google Cloud Project --> https://developers.google.com/apps-script/guides/cloud-platform-projects您必须配置 OAuth 同意屏幕,如官方文档中关于将 Google Apps 脚本项目链接到标准 Google Cloud 项目的解释 --> https://developers.google.com/apps-script/guides/cloud-platform -项目
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.