2 messages in com.googlegroups.google-calendar-help-dataapiremoving ACL rights with ruby
FromSent OnAttachments
jewilmeer25 Jun 2008 01:37 
jewilmeer25 Jun 2008 01:53 
Subject:removing ACL rights with ruby
From:jewilmeer (ma@janwillemvandermeer.nl)
Date:06/25/2008 01:37:58 AM
List:com.googlegroups.google-calendar-help-dataapi

Hi Guys,

I need some help with sharing calendars through the google API. I managed to get things working adding rights for a user, problem is that I need to revoke those rights and I'm not getting it right.

I posted the xml fragment to "/calendar/feeds/#{id}/acl/full" which gave the rights. The api suggested posting the same fragment with an empty role(PUT), which gives me a Net::HTTPBadRequest on exactly the same url!

Someone here with experience in revoking given rights? With the delete suggestion I'm not sure how to specify which user to delete. "/ calendar/feeds/#{id}/acl/full" seems to effect the whole ACL for that calendar?