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

Makes filter_by_owner aware of multi-owner DAG

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security, webserver
    • Labels:
      None

      Description

      Hello

      When enabling the webserver.filter_by_owner setting, Airflow issues a request like this one :

      SELECT * FROM dag WHERE NOT dag.is_subdag AND dag.is_active AND dag.owners = username
      

      Unfortunately that doesn't account for DAG authored by multiple users.

      Please see my PR : https://github.com/apache/incubator-airflow/pull/1508

      dud

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dud dud
                Reporter:
                dud dud
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: