[CalendarServer-changes] [5445] CalendarServer/trunk/calendarserver/provision/root.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 7 18:32:59 PDT 2010


Revision: 5445
          http://trac.macosforge.org/projects/calendarserver/changeset/5445
Author:   sagen at apple.com
Date:     2010-04-07 18:32:55 -0700 (Wed, 07 Apr 2010)
Log Message:
-----------
Set authzUser to the principal we get back from wiki auth

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/provision/root.py

Modified: CalendarServer/trunk/calendarserver/provision/root.py
===================================================================
--- CalendarServer/trunk/calendarserver/provision/root.py	2010-04-07 20:14:19 UTC (rev 5444)
+++ CalendarServer/trunk/calendarserver/provision/root.py	2010-04-08 01:32:55 UTC (rev 5445)
@@ -191,7 +191,7 @@
 
                         if principal:
                             log.debug("Wiki-authenticated principal %s being assigned to authnUser" % (record.guid,))
-                            request.authnUser = davxml.Principal(
+                            request.authzUser = request.authnUser = davxml.Principal(
                                 davxml.HRef.fromString("/principals/__uids__/%s/" % (record.guid,))
                             )
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100407/a85b9c74/attachment-0001.html>


More information about the calendarserver-changes mailing list