Commit d69a0b64 authored by Vincent Pelletier's avatar Vincent Pelletier

Add a note about a not implemented possible optimisation.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17126 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 653439f6
...@@ -147,6 +147,8 @@ def groupWorklistListByCondition(worklist_dict, acceptable_key_dict, getSecurity ...@@ -147,6 +147,8 @@ def groupWorklistListByCondition(worklist_dict, acceptable_key_dict, getSecurity
if not isinstance(value, (tuple, list)): if not isinstance(value, (tuple, list)):
role_column_dict[security_column_id] = [value] role_column_dict[security_column_id] = [value]
applied_security_criterion_dict = {} applied_security_criterion_dict = {}
# TODO: make security criterions be examined in the same order for all
# worklists if possible at all.
for security_column_id, security_column_value in role_column_dict.iteritems(): for security_column_id, security_column_value in role_column_dict.iteritems():
valid_criterion_dict = {} valid_criterion_dict = {}
valid_criterion_dict.update(applied_security_criterion_dict) valid_criterion_dict.update(applied_security_criterion_dict)
......
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