[
https://issues.apache.org/jira/browse/AIRFLOW-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kaxil Naik updated AIRFLOW-1552:
--------------------------------
Fix Version/s: 1.10.2
> Airflow Filter_by_owner not working with password_auth
> ------------------------------------------------------
>
> Key: AIRFLOW-1552
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1552
> Project: Apache Airflow
> Issue Type: Bug
> Components: configuration
> Affects Versions: 1.8.0
> Environment: CentOS , python 2.7
> Reporter: raghu ram reddy
> Priority: Major
> Fix For: 1.10.2
>
>
> Airflow Filter_by_owner parameter is not working with password_auth.
> I created sample user using the below code from airflow documentation and
> enabled password_auth.
> I'm able to login as the user created but by default this user is superuser
> and there is noway to modify it, default all users created by PasswordUser
> are superusers.
> import airflow
> from airflow import models, settings
> from airflow.contrib.auth.backends.password_auth import PasswordUser
> user = PasswordUser(models.User())
> user.username = 'test1'
> user.password = 'test1'
> user.is_superuser()
> session = settings.Session()
> session.add(user)
> session.commit()
> session.close()
> exit()
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)