projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout attribut html5 fictif 'classList' pour qu'IE8 arrĂȘte de faire chier.
[Plinn.git]
/
MemberDataTool.py
diff --git
a/MemberDataTool.py
b/MemberDataTool.py
index
85fc4b2
..
c83ff49
100755
(executable)
--- 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).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)
def getRolesInContext(self, object):
return super(MemberAdapter, self).getRolesInContext(object)