On 2008-12-17 13:13:56 -0800, wpijeff <[email protected]> said:
>
> I'm working on setting up an app that should allow a large group of
> people (~50) to have automatic access to a large list of google
> documents.
>
> Option 1). Use Google Docs right out of the box. Each document will
> need to be created manually, and the owner will need to invite every
> other user. That's a PITA.
> Option 2). Instead of inviting each user, they could invite an email
> list. Each user would then need to manually click on the link in their
> email to have access to it. PITA.
> Option 3). Google for domains allows you to give edit permission to
> everyone on the domain. There's no list of documents, and sharing does
> not work from a domain to a non-domain address.
> Option 4). If folder sharing had been implemented, that seems like the
> way to go. But alas, no.
>
> None of those really seemed to fit, so here's what I'd like to do:
>
> - A gdata web-application that is able to get a list of all documents
> owned by [some-master-username] (easy)
> - Is able to generate the invitation links so that users can self-
> invite by clicking the document name (???)
> - Alternatively, is able to edit the ACL to include all the users, or
> to add users upon request by that user (???)
>
> I don't believe the php or python libraries include the ACL and
> invitation functions, yet. Has anybody done something like this or
> have some sample code that does something similar that I could look
> at? I'd prefer to use php or python, but I'll go where the supported
> libraries are. Thanks!
>
> - Jeff
Jeff,
I don't believe we have any samples that demonstrate working with the
ACLs, and while I haven't tested it myself, the Java client definitely
should has support for it.
This is documentation on working with the gAcl namespace in the Google
Calendar docs, which might help lead you in the right direction when
combined with the protocol guide for the Docuements List API:
http://code.google.com/apis/calendar/docs/2.0/developers_guide_java.html#SharingACalendar
http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.html
There's
already a feature request open to add this functionality to the PHP client:
http://framework.zend.com/issues/browse/ZF-4975
I've added a feature request for the Python client:
http://code.google.com/p/gdata-python-client/issues/detail?id=200
--
Trevor Johns
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Docs Data APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---