thank

rule = gdata.calendar.CalendarAclEntry()
#rule.scope = gdata.calendar.Scope(value='[EMAIL PROTECTED]',
scope_type='user')
rule.scope = gdata.calendar.Scope(scope_type='default')
#rule.scope = gdata.calendar.Scope()
roleValue = 'http://schemas.google.com/gCal/2005#%s' % ('read')
rule.role = gdata.calendar.Role(value=roleValue)
#aclUrl = '/calendar/feeds/[EMAIL PROTECTED]/acl/full'
aclUrl = '/calendar/feeds/' + self.private_url.split('/')[-3] +'/acl/
full'
returned_rule = self.calendar_service.InsertAclEntry(rule, aclUrl)

On 9 дек, 23:30, "Ray Baxter" <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 9, 2008 at 6:07 AM, Andrey Kostromin
>
> <[EMAIL PROTECTED]> wrote:
> > Is a way make calendar public?
>
> Allow read access for the 'default' scope, instead of for an
> individual user.
> (http://code.google.com/intl/ja/apis/calendar/docs/2.0/developers_guid...)
>
> Ray

--~--~---------~--~----~------------~-------~--~----~
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