You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Xiaodong DENG (JIRA)" <ji...@apache.org> on 2019/03/06 15:34:00 UTC
[jira] [Updated] (AIRFLOW-4028) Avoid Adding DAG_PERMS of All DAGs
to Admin Role
[ https://issues.apache.org/jira/browse/AIRFLOW-4028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaodong DENG updated AIRFLOW-4028:
-----------------------------------
Summary: Avoid Adding DAG_PERMS of All DAGs to Admin Role (was: Avoid Adding DAG_PERMS of each DAGs to Admin Role)
> Avoid Adding DAG_PERMS of All DAGs to Admin Role
> ------------------------------------------------
>
> Key: AIRFLOW-4028
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4028
> Project: Apache Airflow
> Issue Type: Improvement
> Components: webserver
> Reporter: Xiaodong DENG
> Assignee: Xiaodong DENG
> Priority: Minor
>
> Currently Admin’s permissions will always be updated so it has ALL permissions, including each DAG’s “can_dag_view” and “can_dag_edit”.
> Let’s say we have 1000 DAGs now: then 2000 permissions will be added to Admin role in DB, and all of them will also be shown in UI if we go to Security->Roles.
> This may not be necessary as Admin role already has “can_dag_view” and “can_dag_edit” on “all_dags”.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)