airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ash Berlin-Taylor <...@apache.org>
Subject Re: Field "owner" in DAG Model
Date Wed, 26 Jun 2019 10:25:50 GMT
That was broken in 1.10.3 - should be fixed in .4

> On 26 Jun 2019, at 11:00, airflowuser <airflowuser@protonmail.com.INVALID> wrote:
> 
> If I may ask...
> in the Old UI how do you filter DAGs by owner?
> I'm running 1.10.3 and in the Search bar it searches only DAG it doesn't search by owner.
> 
> 
> Sent with ProtonMail Secure Email.
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Wednesday, June 26, 2019 12:27 PM, Deng Xiaodong <xd.deng.r@gmail.com> wrote:
> 
>> Hi folks,
>> 
>> In DAG Model, we have "owner" field. In earlier Flask-Admin based UI (which
>> is already removed in master branch), it was used by "filter_by_user"
>> config item in [webserver] section to help control access. But now seems
>> it's not used anywhere already (correct me if I'm wrong).
>> 
>> I would like to understand from the community: shall we remove this field?
>> Or there can be other usage on this field?
>> 
>> One use case I have in mind is to use "owner" to enhance DAG-level access
>> control. Currently the DAG-level access control is implemented by creating
>> a new permission for each DAG, which may be "tedious" to manage if there
>> are many DAGs. We may use "owner" to group DAGs, so we can create new
>> permission for each "owner" rather than creating new permission for each
>> single DAG.
>> 
>> Please share your thoughts. Thanks.
>> 
>> Best regards,
>> 
>> XD
> 
> 


Mime
View raw message