简体   繁体   English

编辑 GMB OAuth 范围

[英]Edit GMB OAuth Scopes

I am using OAuth 2.0 to get access to view, create, edit and delete our clients/users' GMB listings.我正在使用 OAuth 2.0 来查看、创建、编辑和删除我们的客户/用户的 GMB 列表。 But I don't want to get access to delete their listings/locations, only want to get access to view, create, and edit.但我不想获得删除他们的列表/位置的权限,只想获得查看、创建和编辑的权限。 In the screenshot I attached, you can see, google ask for delete permission also, so how I can edit scopes to not get permission for delete.在我附加的屏幕截图中,您可以看到,谷歌也要求删除权限,所以我如何编辑范围以不获得删除权限。 Google should show only text for view, create and edit. Google 应该只显示文本以供查看、创建和编辑。 This is the scope (https://www.googleapis.com/auth/plus.business.manage) I am using for all permissions of GMB listings.这是我用于 GMB 列表的所有权限的scope (https://www.googleapis.com/auth/plus.business.manage)

There is currently no sub-scope that offers what you are looking for.目前没有提供您正在寻找的内容的子范围。

NB: You should be using https://www.googleapis.com/auth/business.manage instead of the "plus" version as that one is deprecated.注意:您应该使用https://www.googleapis.com/auth/business.manage而不是“加号”版本,因为该版本已被弃用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM