From: Benoît Pin Date: Mon, 1 Jul 2013 12:24:49 +0000 (+0200) Subject: Merge branch 'zope-2.13' of ssh://ssh.cri.ensmp.fr/~pin/gitrepositories/Plinn into... X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/commitdiff_plain/990653ed3d15d2b8c7262b1c49f59a24dcabadb3?hp=e189b5bcf54e75538daed6a3c443f401e8f50c19 Merge branch 'zope-2.13' of ssh://ssh.cri.ensmp.fr/~pin/gitrepositories/Plinn into zope-2.13 --- diff --git a/MemberDataTool.py b/MemberDataTool.py index 85fc4b2..c83ff49 100755 --- a/MemberDataTool.py +++ b/MemberDataTool.py @@ -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)