[CMF-checkins] CVS: CMF/CMFCollector - CollectorIssue.py:1.20
Tres Seaver
tseaver@zope.com
Sun, 28 Oct 2001 21:33:06 -0500
Update of /cvs-repository/CMF/CMFCollector
In directory cvs.zope.org:/tmp/cvs-serv21637
Modified Files:
CollectorIssue.py
Log Message:
- "Bare" user objects don't have 'getProperty'; we need to wrap them
up in a nice, comfy membership blanket to get that.
=== CMF/CMFCollector/CollectorIssue.py 1.19 => 1.20 ===
self._set_collector_path(container)
- user = getSecurityManager().getUser()
+ mbtool = getToolByName(container, 'portal_membership')
+ user = mbtool.getAuthenticatedMember()
if submitter_id is None:
submitter_id = str(user)
self.submitter_id = submitter_id