Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-2694

Allow parsing access control in DAG file

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.7
    • Component/s: None
    • Labels:
      None

      Description

      After AIRFLOW-2267 is checkedin, modify DAG parsing logic to allow user passing permission logic through DAG file like the following example:

       

      dag = DAG('mydag', access_control={`role`: [ 'custom_role1'], `perm`: `can_dag_read` }, ...)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tronbabylove Andrew Stahlman
                Reporter:
                TaoFeng Tao Feng
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: