• Vincent Pelletier's avatar
    Implement role_column_dict security handling: · 2f816b0f
    Vincent Pelletier authored
    Move security query generation out of groupWorklistListByCondition into a hook method passed to query generation mechanism. This should speed up things some moe, becuase queries for identical role combination is generated once (and cached) instead of once per occurence.
    Add a method to generate inner level queries - now they can be regular queries or security queries.
    Now that no security-specific handling is done in groupWorklistListByCondition, SECURITY_PARAMETER_ID is present in criterion dicts, not SECURITY_COLUMN_ID.
    
    
    git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15468 20353a03-c40f-0410-a6d1-a30d3c3de9de
    2f816b0f
WorkflowTool.py 19.5 KB