• Kazuhiko Shiozaki's avatar
    fixup! ERP5Workflow: DC Workflows are now ERP5 objects (!1378). · 9d3a3fc6
    Kazuhiko Shiozaki authored
    If state_permission_role_list_dict is not yet set in a Workflow State, the UI displays permission/role table with all unchecked.
    Once we save it in Permissions tab without checking anything, state_permission_role_list_dict will become like
      {'Access contents information': (),
       'Add portal content': (),
       'Modify portal content': (),
       'View': ()}
    This commit will make the behaviour same for these 'before save' and 'after save' cases as the UI displays exactly same.
    9d3a3fc6
WorkflowState.py 6.3 KB