如何设置Google App Engine / Apps以允许非管理员用户引擎应用使用子域

时间:2022-03-07 07:21:37

So I have a domain, lets call it example.com and I'm already using Google Apps with this domain (email, sites, etc). The administrator for this account is admin@example.com. I have an App engine application called myapp and I want it to be accessed via myapp.example.com, but I DONT want to use the admin@ user to host/control the application, I want to use a less privileged account myapp@.

所以我有一个域名,让我们称之为example.com,我已经在这个域名中使用Google Apps(电子邮件,网站等)。此帐户的管理员是admin@example.com。我有一个名为myapp的App引擎应用程序,我希望通过myapp.example.com访问它,但我不想使用admin @ user来托管/控制应用程序,我想使用较少特权的帐户myapp @。

I've already tried giving this user privileges to "Domain Settings", but I still get access errors when I try to add example.com.

我已经尝试将此用户权限授予“域设置”,但在尝试添加example.com时仍然会出现访问错误。

How can I allow the myapp@ users App Engine application to use myapp.example.com?

如何允许myapp @ users App Engine应用程序使用myapp.example.com?

1 个解决方案

#1


0  

Ok, so I've found a slightly ugly means to make this work.

好的,所以我找到了一个稍微丑陋的方法来完成这项工作。

Step 1: Assign the role "Super Admin" to the myapp@ user via the admin@ account on Apps (this is temporary).

步骤1:通过Apps上的admin @帐户将角色“超级管理员”分配给myapp @用户(这是暂时的)。

Step 2: Login to App Engine as myapp@ and run through the process of adding the domain to the application then assigning a sub domain. Once complete and working sign out.

步骤2:以myapp @身份登录App Engine,并运行将域添加到应用程序然后分配子域的过程。完成并正常工作后退出。

Step 3: Sign in again to Apps as admin@ and remove "Super Admin" privileges for myapp@.

第3步:以admin @身份再次登录Apps,并删除myapp @的“超级管理员”权限。

This still leaves the sub domain assigned to the application and you can control this from the dashboard of admin@. myapp@ is still in control of the application, but if you wanted to change the domain settings you'd probably need to repeat steps 1-3.

这仍然会将子域分配给应用程序,您可以从admin @的仪表板控制它。 myapp @仍然可以控制应用程序,但如果您想更改域设置,则可能需要重复步骤1-3。

#1


0  

Ok, so I've found a slightly ugly means to make this work.

好的,所以我找到了一个稍微丑陋的方法来完成这项工作。

Step 1: Assign the role "Super Admin" to the myapp@ user via the admin@ account on Apps (this is temporary).

步骤1:通过Apps上的admin @帐户将角色“超级管理员”分配给myapp @用户(这是暂时的)。

Step 2: Login to App Engine as myapp@ and run through the process of adding the domain to the application then assigning a sub domain. Once complete and working sign out.

步骤2:以myapp @身份登录App Engine,并运行将域添加到应用程序然后分配子域的过程。完成并正常工作后退出。

Step 3: Sign in again to Apps as admin@ and remove "Super Admin" privileges for myapp@.

第3步:以admin @身份再次登录Apps,并删除myapp @的“超级管理员”权限。

This still leaves the sub domain assigned to the application and you can control this from the dashboard of admin@. myapp@ is still in control of the application, but if you wanted to change the domain settings you'd probably need to repeat steps 1-3.

这仍然会将子域分配给应用程序,您可以从admin @的仪表板控制它。 myapp @仍然可以控制应用程序,但如果您想更改域设置,则可能需要重复步骤1-3。