我最近添加了訪問Google Apps Marketplace配置API的權限。新用戶可以使用與此權限相關的功能;然而,不被提示老用戶更新他們的權限the documentation規定:將權限添加到Google Apps Marketplace清單
如果一個應用程序實現新功能,需要額外的數據訪問,開發人員只需要在應用程序清單定義所需的其他範圍。以前安裝應用程序的每個域的域管理員將被提示授予Google Apps控制面板(http://www.google.com/a/)的額外訪問權限。
需要額外數據訪問的應用程序將在控制面板UI中顯示提示「更新數據訪問要求」。域管理員然後可以點擊「查看並授予訪問權限」,在那裏他們將顯示請求的其他範圍。如果批准訪問這些範圍,則應用程序可能會請求訪問該數據。
有沒有人有這方面的工作經驗成功?舊用戶需要進入控制面板才能添加權限?該應用以前沒有任何相關權限,所以我有一個預感可能與問題有關。
下面是一個應用程序清單看起來像確保我不會錯過任何明顯的例子。
<?xml version="1.0" encoding="UTF-8" ?>
<ApplicationManifest xmlns="http://schemas.google.com/ApplicationManifest/2009">
<Name>App Name</Name>
<Description>App Description</Description>
<!-- Administrators and users will be sent to this URL for application support -->
<Support>
<Link rel="setup" href="http://www.example.com/setup?domain=${DOMAIN_NAME}" />
<Link rel="support" href="http://www.example.com/support" />
<Link rel="terms-of-service" href="https://www.example.com/terms" />
<Link rel="privacy-policy" href="https://www.example.com/privacy" />
</Support>
<!-- Show this link in Google's universal navigation for all users -->
<Extension id="navLink" type="link">
<Name>App Name</Name>
<Url>https://www.example.com/register?domain=${DOMAIN_NAME}</Url>
<Scope ref="userFeed" />
</Extension>
<!-- Declare our OpenID realm so our app is white listed -->
<Extension id="realm" type="openIdRealm">
<Url>https://www.example.com/</Url>
</Extension>
<!-- Sets up permissions to access user feed in provisioning api -->
<Scope id="userFeed">
<Url>https://apps-apis.google.com/a/feeds/user/#readonly</Url>
<Reason>This application will allow you to see who's on your domain.</Reason>
</Scope>
</ApplicationManifest>