Commit 624f4af6 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Enumerate user ids even if their careers are not internal.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6126 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d779350
......@@ -120,15 +120,11 @@ class ERP5UserManager(BasePlugin):
id_list.append('%%%s%%' % id)
if id_list:
user_objects = [user for user in self.getUserByLogin(tuple(id_list))\
if user.getCareerRole() == 'internal']
#XXX is this static check ok ?
for user in user_objects:
for user in self.getUserByLogin(tuple(id_list)):
info = { 'id' : user.getReference()
, 'login' : user.getReference()
, 'pluginid' : plugin_id
}
, 'login' : user.getReference()
, 'pluginid' : plugin_id
}
user_info.append(info)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment