XD-DENG commented on issue #4569: [AIRFLOW-3745] Fix viewer not able to view 
dag details
URL: https://github.com/apache/airflow/pull/4569#issuecomment-469920279
 
 
   > @XD-DENG , I don't think it will add 2000 entries to the db for admin 
role. It only adds the "all_dags" view-menu with the 2 permissions into the 
table.
   
   Hi @feng-tao please refer to 
https://github.com/apache/airflow/blob/dda309e66224346014ca42a0bcce4f53365f1118/airflow/www/security.py#L440-L453
 . By checking the code itself, seems it's simply adding all whatever 
permissions to Admin role.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to