Merge branch 'zope-2.13' of ssh://ssh.cri.ensmp.fr/~pin/gitrepositories/Plinn into...
authorBenoît Pin <pin@cri.ensmp.fr>
Mon, 1 Jul 2013 12:24:49 +0000 (14:24 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Mon, 1 Jul 2013 12:24:49 +0000 (14:24 +0200)
MemberDataTool.py

index 85fc4b2..c83ff49 100755 (executable)
@@ -154,7 +154,8 @@ class MemberAdapter(BaseMemberAdapter, SimpleItem, DynamicType, CMFCatalogAware)
                return super(MemberAdapter, self).getId()
 
        def getRoles(self):
-               return super(MemberAdapter, self).getRoles()
+               return self._user.aq_inner.getRoles()
+               # return super(MemberAdapter, self).getRoles()
 
        def getRolesInContext(self, object):
                return super(MemberAdapter, self).getRolesInContext(object)