Hello

and thank you for your quick answer .
Indeed ACL lists gives a lot of informations but till now I couldn't
find a way to
check if a calendar is imported or now .If is imported and the user
has "owner" wrights is shown as the rest of calendars.
The <author> doesn't help too much since a user could login as user,
u...@gmail , u...@googlemail or u...@hosteddomain ... and maybe there
are others ..
The only way I see is to check in the response of:
http://www.google.com/calendar/feeds/liz%40gmail.com/acl/full/user%3Adarcy%40gmail.com
author against GACL:SCOPE but I'm not shore is a good idea since the
user could input as username only darcy in stead of [email protected]
and the previous feed will be empty :)
Also "http://www.google.com/calendar/feeds/default/owncalendars/full";
does not help since still showing imported with owner wright access .

PS:just to understand why I'm asking this stuff .. we have a fully
working application integrated with google calendar and the users
started to play with access wrights on imported calendars .. witch
cause a lot of errors and invalid requests to google server
so we want to restrict imported calendars :) . They insert in our app
the username,pass and maybe the calendar address so I must find
a way to restrict imported calendars.

Thanks again for your time.
Dan

On Oct 17, 3:12 am, Trevor Johns <[email protected]> wrote:
> On 2009-10-16 14:50:36 -0700, danmar computers <[email protected]> said:
>
>
>
> > Hello
> > is there any way to find out in api if an calendar is read only
> > (shared one)   ?
>
> > Thanks in advance
> > Dan
>
> There are ACL feeds that give you a comprehensive view of a calendr's
> security settings:
>
> http://code.google.com/apis/calendar/data/2.0/developers_guide_protoc...
>
> In
>
> this case though, you could probably just look at the
> <gCal:accesslevel> element, which will tell you what your access level
> is for a calendar. This element is available inside of every calendar
> metafeed entry.
>
> --
> Trevor Johns
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to