Retrieve Access Control List of Documents for Specific User on Google Docs?

Posted by viatropos on Stack Overflow See other posts from Stack Overflow or by viatropos
Published on 2010-03-20T11:23:26Z Indexed on 2010/03/20 11:31 UTC
Read the original article Hit count: 152

Filed under:
|

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!

© Stack Overflow or respective owner

Related posts about google-docs

Related posts about acl