检索 Google 文档上特定用户的文档访问控制列表?
我有一个大型网站 www.mydomain.com。可以说,每月有 1000 个新文档,每周有 100 个新用户。我需要能够以编程方式执行以下操作:
- 用户访问 www.mydomain.com/documents
- 用户看到他们有权访问的所有文档的列表(不是所有文档)
我知道您可以 单独检索每个文档的 ACL。但是有没有一种方法可以在一个 HTTP 请求中检索每个“用户”的 ACL,即他们有权访问的所有文档的列表?像这样的东西,但对于文档(而不仅仅是文档“所有者”):
我很想知道,因为似乎我必须解析 10,000 个文档“条目”标签,找到 ACL,查看用户是否在 ACL 中......这看起来很疯狂。
我缺少什么?
谢谢!
I have a large website at www.mydomain.com. There are 1000 new documents per month and 100 new users per week lets say. I need to be able to programmatically do the following:
- user goes to www.mydomain.com/documents
- user sees list of all documents they have access to (not ALL of the docs)
I know you can retrieve an ACL for each document individually. But is there a way to retrieve an ACL for each "user", a list of all the documents they have access to, in one HTTP request? Something like this, but for Docs (and not just for document "owners"):
Retrieving only calendars that a user owns.
I'd love to know, because it seems like I'd have to parse 10,000 document "entry" tags, find the ACL, see if user is in ACL... That seems crazy.
What am I missing?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来 API 可以为您提供所需的列表 由读者或作者。
It looks like the API can provide you the desired list by reader or writer.