Commit 40057831 authored by Yoshinori Okuji's avatar Yoshinori Okuji

person_id is not a user name. must pass user_name.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6008 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aafd4ce9
...@@ -127,7 +127,7 @@ class ERP5GroupManager(BasePlugin): ...@@ -127,7 +127,7 @@ class ERP5GroupManager(BasePlugin):
base_category_list = tuple(base_category_list) base_category_list = tuple(base_category_list)
method = getattr(self, method_name) method = getattr(self, method_name)
security_category_list = security_category_dict.setdefault(base_category_list, []) security_category_list = security_category_dict.setdefault(base_category_list, [])
security_category_list.extend(method(base_category_list, person_id, person_object, '')) security_category_list.extend(method(base_category_list, user_name, person_object, ''))
# Get group names from category values # Get group names from category values
group_id_list_generator = getattr(self, 'ERP5Type_asSecurityGroupIdList', None) group_id_list_generator = getattr(self, 'ERP5Type_asSecurityGroupIdList', None)
......
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