Hi Patricia,

I'm not sure if I fully understand what you're trying to do, but
both the Calendar and DocList API offer access control features
that you may use to assign roles:

http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.html#AccessControlLists
http://code.google.com/apis/calendar/docs/2.0/developers_guide_protocol.html#SharingACalendar

That being said,  user A wont be able to view user B's document
until B has granted A permission (reader, collaborator, etc) to the
document.

Eric

On Nov 19, 8:22 am, "Patricia Goldweic" <[EMAIL PROTECTED]>
wrote:
> Hi,
> It would be very convenient if I could get the following behavior working in
> my web app: when somebody clicks on a particular link, I assign them
> permission to see a certain piece of content that belongs to somebody else
> (somebody who wants this to happen, of course).
> Unfortunately, from what I understand, it appears that I can
> programmatically assign permission over a piece of content ONLY if I log in
> as the owner of that content*, but then, it follows that I won't achieve the
> desired behavior. Is this an accurate conclusion?
>
> For more details, I believe I need the following functionality to get this
> to work:
> - Using AuthSub or an alternate, be able to log in as an admin, and assign
> the permissions I need over the content of owner 1 (either a Google calendar
> or a Google doc at this point; in the future hopefully also a site) to owner
> 2
>
> Thanks,
> -Patricia
>
> *: I am assuming that AuthSub is used for this purpose
> [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to