简体   繁体   English

如何让用户访问由 GCP 项目管理的应用程序脚本

[英]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 表格的标准应用脚本交互。

I think when you move to GCP you are required to use OAuth and they have to enter their credentials again.我认为当您转移到 GCP 时,您需要使用 OAuth 并且他们必须再次输入他们的凭据。 Found in the docs .文档中找到。

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.

相关问题 如何授予联合用户对 EKS 集群的访问权限 - How to give access to Federrated Users to EKS cluster 如何给运行在GCP cloud run上的应用授予访问gcp服务的权限 - How to give permission to applications running on GCP cloud run to access gcp services 如何在 Add on GCP 标准中访问 Google 脚本函数 - How to get access to Google script functions in Add on GCP standard 为 GCP 认证用户访问 Cloud Run URL - Access Cloud Run URL for GCP authenticated users 从 Windows 上的 Grafana 访问 GCP Managed Prometheus 指标 - Access GCP Managed Prometheus metrics from Grafana on Windows 如何授予实习生访问“VM 实例”的权限? 使用@gmail.com email 地址(GCP) - How to give access to "VM Instances" to the intern? with @gmail.com email address (GCP) GCP API 网关返回 403 表示托管服务“未为项目启用” - GCP API gateway returning 403 saying managed service "is not enabled for the project" 如何在 GCP 中为 secret 赋予角色? - How do I give a role to secret in GCP? 如何通过 AI Platform 控制台中的“OPEN JUPYTERLAB”链接授予用户对 GCP jupyterlab 的访问权限 - How to give user access to GCP jupyterlab via "OPEN JUPYTERLAB" link in AI Platform console 使用公司 email “nongmail” 和密码访问 GCP 项目 - Access GCP project with company email "nongmail" and password
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM