2015-01-06 63 views
0

该问的是涉及到发布的“非管理员可以在站点上安装应用程序”功能在这里宣布后返回未许可:http://googleforwork.blogspot.com/2014/09/google-apps-marketplace-to.html谷歌Apps Marketplace中CustomerLicense甚至安装

我看到,当非-admin将我们的应用程序安装到他们的域中(通过使用白名单),从“https://www.googleapis.com/appsmarket/v2/customerLicense/”端点返回的CustomerLicense仍然是未授权的。当管理员安装应用程序时,CustomerLicense已正确设置为ACTIVE。

看起来像一个错误。如果不是,GAM团队中的某人能够帮助澄清我应该期待什么吗?谢谢!

回答

1

非管理员仅为他/她自己安装应用程序。由于CustomerLicense API用于查询域级授权信息,因此API会正确返回UNLICENSED。

尝试使用UserLicense API代替https://developers.google.com/apps-marketplace/v2/reference/userLicense

+0

啊,这是有道理的。感谢指针!对于其他任何碰到这种情况的人来说,以下是您可以使用的情景+状态。 (1)非管理员安装:UserLicense == ACTIVE,CustomerLicense ==未授权 (2)非管理员安装后跟admin安装:UserLicense == ACTIVE,CustomerLicense == ACTIVE (3)管理员安装:UserLicense == UNLICENSED ,CustomerLicense == ACTIVE(注意:市场上无法进行管理员安装,然后进行非管理员安装。) – djpark

相关问题