X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/4a062898ae723db4755a4c900eb3bc66393f6c48..a9e61f8d7e3ef299e47f6e2cefc7ced4b252c94b:/MemberDataTool.py?ds=sidebyside 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)