From 2d7deb0c7becf0cb7d78801fd2bcaa3edd5de7c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Fri, 28 Jun 2013 01:25:34 +0200 Subject: [PATCH 1/1] =?utf8?q?Fix=20probl=C3=A8me=20d'acquisition.=20La=20?= =?utf8?q?m=C3=A9thode=20getUser=20appel=C3=A9e=20(au=20cours=20de=20l'app?= =?utf8?q?el=20=C3=A0=20getRoles)=20=C3=A9tait=20l'impl=C3=A9mentation=20d?= =?utf8?q?e=20MemberAdapter=20au=20lieu=20d'=C3=AAtre=20celle=20de=20Group?= =?utf8?q?UserFolder=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- MemberDataTool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.20.1