检索 Google 文档上特定用户的文档访问控制列表?

发布于 2024-08-26 02:41:42 字数 683 浏览 2 评论 0原文

我有一个大型网站 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

半葬歌 2024-09-02 02:41:42

看来 API 可以为您提供所需的列表 由读者或作者。

It looks like the API can provide you the desired list by reader or writer.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文