X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/432b8b854c6dfc25301e4a465457bc4d9a00d207..a8d9cafde69dd2360870cc971f8e7393c4f5a0de:/MemberDataTool.py?ds=inline 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)