Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-11-2008, 11:30 AM
Starter Member
 
Posts: 1
Question CalDAV: setting ACL principals

Hello all. First-time post. I'm a developer in the Sakai community, writing support to use Sakai as a calendar client for Zimbra.

All my manipulation of Zimbra calendars is through http CalDAV requests. I have a need to set up CalDAV ACLs on certain calendars.

I am having trouble specifying individuals to grant or deny privileges on. I can successfully set a privilege for all authenticated users with a request like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<D:acl xmlns:D="DAV:">
	<D:ace>
		<D:principal><D:authenticated/></D:principal>
		<D:grant>
			<D:privilege>
				<D:read/>
			</D:privilege>
		</D:grant>
	</D:ace>
</D:acl>
But when I use a request like this to specify an individual principal, I get a "400 bad request" response, with nothing in the body to give me any more information.

Code:
<?xml version="1.0" encoding="utf-8"?>
<D:acl xmlns:D="DAV:">
	<D:ace>
		<D:principal>
<D:href>http://someserver.net/principals/users/student01</D:href>
               </D:principal>
		<D:grant>
			<D:privilege>
				<D:read/>
			</D:privilege>
		</D:grant>
	</D:ace>
</D:acl>
Any ideas? I'm guessing it's just the form of the href that I'm getting wrong.

thanks in advance,
Zach
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.