Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google apps script 为Google电子表格编写脚本*受限*用户界面_Google Apps Script_Google Sheets - Fatal编程技术网

Google apps script 为Google电子表格编写脚本*受限*用户界面

Google apps script 为Google电子表格编写脚本*受限*用户界面,google-apps-script,google-sheets,Google Apps Script,Google Sheets,考虑客人名单应用程序的要求(针对俱乐部): 来宾列表作为Google电子表格,包含两列: name: name of guest entered: yes, iff guest has entered 门口的人的Web应用程序允许按姓名搜索客人,并将其标记为已进入 门口的人不允许更改客人名单,除非将客人标记为已进入或未进入(显然)。他们应该有一个密码,只允许他们访问应用程序(第2点),而不能访问电子表格(第1点) 我想知道:是否可以用谷歌文档脚本来编写用户界面?如果是,我如何对第3点进行身份

考虑客人名单应用程序的要求(针对俱乐部):

  • 来宾列表作为Google电子表格,包含两列:

    name: name of guest
    entered: yes, iff guest has entered
    
  • 门口的人的Web应用程序允许按姓名搜索客人,并将其标记为已进入

  • 门口的人不允许更改客人名单,除非将客人标记为已进入或未进入(显然)。他们应该有一个密码,只允许他们访问应用程序(第2点),而不能访问电子表格(第1点)

  • 我想知道:是否可以用谷歌文档脚本来编写用户界面?如果是,我如何对第3点进行身份验证


    否则,当然,我可以只编写UI,比如说用PHP,然后使用OAuth对Google帐户进行身份验证。

    睡了一个好觉后,我只看了一下。我希望通过如下设置权限来实现:

    • 执行方式:
      admin@example.com

    • 允许访问:example.com的任何成员