def METHOD_NAME(username, actions, common_flow_id_list):
    resources_list = res_factory.resources_list_for_common_flows(common_flow_id_list)
    if not resources_list:
        return {}
    return get_resources_allowed_actions_for_user(
        username,
        IAMMeta.SYSTEM_ID,
        actions,
        resources_list,
    )