[Zope-Checkins] CVS: Zope/lib/python/OFS - PropertySheets.py:1.87.6.1

Chris McDonough chrism@zope.com
Wed, 16 Oct 2002 17:35:07 -0400


Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv27921/OFS

Modified Files:
      Tag: Zope-2_6-branch
	PropertySheets.py 
Log Message:
Fix up calls to user objects' getUserName which should really be calls to 
getId.  This is a change designed to make it possible to disambiguate user names and user ids in subclasses of user folders, while still doing the "right thing" with respect to local data structures that keep pointers to user ids (eg. local roles, etc.)


=== Zope/lib/python/OFS/PropertySheets.py 1.87 => 1.87.6.1 ===
--- Zope/lib/python/OFS/PropertySheets.py:1.87	Wed Aug 14 17:42:56 2002
+++ Zope/lib/python/OFS/PropertySheets.py	Wed Oct 16 17:34:36 2002
@@ -558,7 +558,7 @@
 
     def dav__lockdiscovery(self):
         security = getSecurityManager()
-        user = security.getUser().getUserName()
+        user = security.getUser().getId()
 
 
         vself = self.v_self()