potiuk commented on issue #58985:
URL: https://github.com/apache/airflow/issues/58985#issuecomment-3817899335

   >         :param access_control: a dict where each key is a role name and 
each value can be:
   >             - a set() of DAGs resource action names (e.g. `{'can_read'}`)
   >            - or a dict where each key is a resource name ('DAGs' or 'DAG 
Runs') and each value
   >             is a set() of action names (e.g., `{'DAG Runs': 
{'can_create'}, 'DAGs': {'can_read'}}`)
   
   
   You can already add permissions for `DAG runs` like described above - so 
clearly it has been foreseen that you need to explicitly add "DAG Runs" as 
accessible this way). It is deprecated indeed, so I am not sure if we want to 
implement any changes there, but maybe - if you also want "Task Instances" to 
be added @bmoon4 -> feel free to open PR, or if you do not feel like it, create 
a feature request.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to