2015-01-06 56 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

相關問題