[Zope-CVS] CVS: Products/PluggableAuthService/plugins -
RecursiveGroupsPlugin.py:1.5
Gary Poster
gary at zope.com
Fri Oct 1 17:29:47 EDT 2004
Update of /cvs-repository/Products/PluggableAuthService/plugins
In directory cvs.zope.org:/tmp/cvs-serv21630
Modified Files:
RecursiveGroupsPlugin.py
Log Message:
Users are typically wrapped in the PAS. Modify the recursive plugin to wrap the temporary user objects in the PAS before asking for groups.
=== Products/PluggableAuthService/plugins/RecursiveGroupsPlugin.py 1.4 => 1.5 ===
--- Products/PluggableAuthService/plugins/RecursiveGroupsPlugin.py:1.4 Thu Aug 12 11:15:54 2004
+++ Products/PluggableAuthService/plugins/RecursiveGroupsPlugin.py Fri Oct 1 17:29:46 2004
@@ -90,7 +90,8 @@
continue
seen.append( test )
new_groups = parent._getGroupsForPrincipal(
- PropertiedUser( test ), ignore_plugins=( self.getId(), ) )
+ PropertiedUser( test ).__of__(parent),
+ ignore_plugins=( self.getId(), ) )
if new_groups:
set.extend( new_groups )
More information about the Zope-CVS
mailing list