[Checkins] SVN: Products.PluggableAuthService/branches/shh-15-masquerading/Products/PluggableAuthService/PropertiedUser.py Revert r97359. We don't need this - awesome.
Stefan H. Holek
stefan at epy.co.at
Sun Mar 1 18:27:56 EST 2009
Log message for revision 97407:
Revert r97359. We don't need this - awesome.
Changed:
U Products.PluggableAuthService/branches/shh-15-masquerading/Products/PluggableAuthService/PropertiedUser.py
-=-
Modified: Products.PluggableAuthService/branches/shh-15-masquerading/Products/PluggableAuthService/PropertiedUser.py
===================================================================
--- Products.PluggableAuthService/branches/shh-15-masquerading/Products/PluggableAuthService/PropertiedUser.py 2009-03-01 22:20:07 UTC (rev 97406)
+++ Products.PluggableAuthService/branches/shh-15-masquerading/Products/PluggableAuthService/PropertiedUser.py 2009-03-01 23:27:56 UTC (rev 97407)
@@ -27,8 +27,6 @@
from Products.PluggableAuthService.interfaces.propertysheets \
import IPropertySheet
-from Products.PluggableAuthService.utils import splitmasq
-
class PropertiedUser( BasicUser ):
""" User objects which manage propertysheets, obtained from decorators.
@@ -99,12 +97,6 @@
no other extension mechanism. :(
"""
user_id = self.getId()
-
- # Masquerading: Return role_user roles
- auth_user_id, role_user_id = splitmasq( user_id )
- if role_user_id is not None:
- user_id = role_user_id
-
# [ x.getId() for x in self.getGroups() ]
group_ids = self.getGroups()
@@ -195,12 +187,6 @@
# we can incur only the overhead required to find a match.
inner_obj = aq_inner( object )
user_id = self.getId()
-
- # Masquerading: Check role_user roles
- auth_user_id, role_user_id = splitmasq( user_id )
- if role_user_id is not None:
- user_id = role_user_id
-
# [ x.getId() for x in self.getGroups() ]
group_ids = self.getGroups()
More information about the Checkins
mailing list