简体   繁体   English

如何允许其他用户调用您的脚本并写入电子表格的受保护范围

[英]How to allow other users to call your script and write to the protected range of the Spreadsheets

I have a Spreadsheet App which has protected ranges.我有一个具有受保护范围的电子表格应用程序。 With my own account, I have created the script which reads and modifies data in it.使用我自己的帐户,我创建了读取和修改其中数据的脚本。 Now want to allow other users to run the script with their accounts.现在希望允许其他用户使用他们的帐户运行脚本。 Is any way to do it?有什么办法吗?

You have to allow these users to edit the range.您必须允许这些用户编辑范围。

You have to go to change permissions > Restrict who can edit this range > Custom您必须转到更改权限> 限制谁可以编辑此范围> 自定义

在此处输入图片说明

Actually realised that my question was not proper one.实际上意识到我的问题不正确。 Once the other user doesn't have permissions to a certain range that means the script doesn't have the permission once the session runs under the customer's privileges.一旦其他用户没有特定范围的权限,这意味着一旦会话在客户的权限下运行,脚本就没有权限。

So, the question is closed.所以,这个问题已经结束了。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何允许用户通过脚本编辑受保护范围? - How to allow users to edit protected range through script? Google App脚本-如何允许其他用户通过脚本编辑仅由我保护的单元格? - Google App Script - How to allow other users edit only-me-protected cell through script? Google 表格 - 允许用户在受保护范围内运行脚本 - Google Sheets - Allow Users to run scripts on a protected range 如何允许谷歌工作表中的共享用户运行访问受保护工作表的脚本 - How to allow shared users in google sheets to run script that accesses protected sheet API 能否在受保护的单元格范围内为其他用户运行? - Can an API run for other users on a range of cells that is protected? 允许其他用户在受保护的工作表上运行 Google App Script 函数 - Enable other users to run Google App Script Function on protected sheet 如何使用 App Script 在一个电子表格中跟踪其他电子表格中的数据更改? - How to track data changes in one spreadsheet with App Script in other spreadsheets? 电子表格的Google脚本-错误:参数必须是一个范围 - Google Script for Spreadsheets - error: Argument must be a range 用于替换许多其他电子表格中的内容和公式的脚本 - Script to replace content and formulas in many other spreadsheets 将脚本部署为Web应用程序时,如何在Google Spreadsheets中获得有效的范围/选择? - How can I get active range/selection in Google Spreadsheets when a script is deployed as a Web App?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM