projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Export du workflow de commandes d'impressions.
[Plinn.git]
/
MembershipTool.py
diff --git
a/MembershipTool.py
b/MembershipTool.py
index
0d7624e
..
2cfefe6
100755
(executable)
--- a/
MembershipTool.py
+++ b/
MembershipTool.py
@@
-74,7
+74,7
@@
class MembershipTool( BaseTool ):
security.declareProtected(ListPortalMembers, 'getMemberById')
security.declareProtected(ListPortalMembers, 'getMemberById')
- memberareaPortalType = 'Folder'
+ memberareaPortalType = '
Huge Plinn
Folder'
# security.declareProtected(SetOwnPassword, 'setPassword')
# security.declareProtected(SetOwnPassword, 'setPassword')
@@
-241,10
+241,7
@@
class MembershipTool( BaseTool ):
member = self.getMemberById(userid)
if not member :
return userid
member = self.getMemberById(userid)
if not member :
return userid
- memberName = getattr(member, 'name', '')
- memberGivenName = getattr(member, 'given_name', '')
- memberId = member.getId()
- memberFullName = formatFullName(memberName, memberGivenName, memberId, nameBefore = nameBefore)
+ memberFullName = member.getMemberFullName(nameBefore=nameBefore)
return memberFullName
return memberFullName