Google 管理员为域的所有用户授权的应用程序脚本
Google apps script authorisation by admin for all users of a domain
我有一份时间sheet申请我公司的员工。我不是管理员。该应用程序是一个 google 应用程序脚本,它需要时间 sheet 输入,然后将它们写入我的 google 驱动器上的 spreadsheet。当我尝试将应用程序发布给 运行 用户(由 google 邮件维护的公司域)时,它指出 "Users will be asked to authorize the script." 这意味着我必须给他们权利查看脚本。我只希望他们使用 url 并查看脚本呈现的页面。
域的管理员是否可以授权,以便所有使用公司电子邮件的用户都可以使用电子邮件登录并使用脚本。
我是否需要将脚本和 spreadsheet 转移给具有管理员权限的人,或者我可以继续将两者保留在我的驱动器上并获得管理员授权。
此致
Which means I have to give them the right to view the script.
不,不是。
I only want them to use the url and see the pages rendered by the script.
这就是他们会看到的。
Can the admin of the domain authorise so that all users using the email for the company can login using the email and use the script.
不,他们不能,因为您在用户登录下将 webapp 设置为 运行。一种替代方法是创建一个服务帐户,该帐户可以由域管理员授权 运行 全域授权。
Do I need to transfer the script and the spreadsheet to someone with admin rights or can I continue to keep both on my drive and have admin authorise.
如前所述,无需管理员授权即可保留您的脚本代码 "secret"。
我有一份时间sheet申请我公司的员工。我不是管理员。该应用程序是一个 google 应用程序脚本,它需要时间 sheet 输入,然后将它们写入我的 google 驱动器上的 spreadsheet。当我尝试将应用程序发布给 运行 用户(由 google 邮件维护的公司域)时,它指出 "Users will be asked to authorize the script." 这意味着我必须给他们权利查看脚本。我只希望他们使用 url 并查看脚本呈现的页面。 域的管理员是否可以授权,以便所有使用公司电子邮件的用户都可以使用电子邮件登录并使用脚本。 我是否需要将脚本和 spreadsheet 转移给具有管理员权限的人,或者我可以继续将两者保留在我的驱动器上并获得管理员授权。 此致
Which means I have to give them the right to view the script.
不,不是。
I only want them to use the url and see the pages rendered by the script.
这就是他们会看到的。
Can the admin of the domain authorise so that all users using the email for the company can login using the email and use the script.
不,他们不能,因为您在用户登录下将 webapp 设置为 运行。一种替代方法是创建一个服务帐户,该帐户可以由域管理员授权 运行 全域授权。
Do I need to transfer the script and the spreadsheet to someone with admin rights or can I continue to keep both on my drive and have admin authorise.
如前所述,无需管理员授权即可保留您的脚本代码 "secret"。