[Zope-Checkins] CVS: Packages/AccessControl - User.py:1.176.14.8
Andreas Jung
andreas at andreas-jung.com
Fri Mar 18 08:17:31 EST 2005
Update of /cvs-repository/Packages/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv31879
Modified Files:
Tag: Zope-2_7-branch
User.py
Log Message:
calling self._check_context() for authenticated users (patch by
Dieter and/or Tres)
=== Packages/AccessControl/User.py 1.176.14.7 => 1.176.14.8 ===
--- Packages/AccessControl/User.py:1.176.14.7 Tue Jan 25 08:46:14 2005
+++ Packages/AccessControl/User.py Fri Mar 18 08:17:31 2005
@@ -182,7 +182,8 @@
# role and user is not nobody
if 'Authenticated' in object_roles and (
self.getUserName() != 'Anonymous User'):
- return 1
+ if self._check_context(object):
+ return 1
# Check for ancient role data up front, convert if found.
# This should almost never happen, and should probably be
More information about the Zope-Checkins
mailing list