[CalendarServer-changes] [8215] CalendarServer/trunk/calendarserver/provision/root.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Oct 20 15:23:13 PDT 2011
Revision: 8215
http://trac.macosforge.org/projects/calendarserver/changeset/8215
Author: sagen at apple.com
Date: 2011-10-20 15:23:12 -0700 (Thu, 20 Oct 2011)
Log Message:
-----------
Don't check SACLs when wiki principal resources are involved.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/provision/root.py
Modified: CalendarServer/trunk/calendarserver/provision/root.py
===================================================================
--- CalendarServer/trunk/calendarserver/provision/root.py 2011-10-20 17:45:22 UTC (rev 8214)
+++ CalendarServer/trunk/calendarserver/provision/root.py 2011-10-20 22:23:12 UTC (rev 8215)
@@ -160,6 +160,7 @@
request.credentialFactories,
request.remoteAddr
))
+ log.info("Unauthenticated user denied by SACLs")
raise HTTPError(response)
# Cache the authentication details
@@ -326,7 +327,7 @@
if segments[0] in ("inbox", "timezones"):
request.checkedSACL = True
- elif (len(segments) > 2 and segments[0] == "calendars" and
+ elif (len(segments) > 2 and segments[0] in ("calendars", "principals") and
(
segments[1] == "wikis" or
(segments[1] == "__uids__" and segments[2].startswith("wiki-"))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20111020/97028941/attachment.html>
More information about the calendarserver-changes
mailing list