Commit 573767dd authored by Julien Muchembled's avatar Julien Muchembled

Portal Type Roles: add comment about the last parameter of base category scripts

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28402 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 63c34dd7
......@@ -139,6 +139,10 @@ class ERP5GroupManager(BasePlugin):
security_category_list = security_category_dict.setdefault(
base_category_list, [])
try:
# The called script may want to distinguish if it is called
# from here or from _updateLocalRolesOnSecurityGroups.
# Currently, passing portal_type='' (instead of 'Person')
# is the only way to make the difference.
security_category_list.extend(
method(base_category_list, user_name, person_object, '')
)
......
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