MM-Lehmann commented on issue #19205:
URL: https://github.com/apache/airflow/issues/19205#issuecomment-952232885


   Well, I thought it was obvious but trying to provide you with a doc link, I 
must admit it's actually not that well documented. But there is third-party 
info on it. Just like 
[here](https://cloud.google.com/composer/docs/airflow-rbac#assigning_dags_to_roles_in_dag_properties),
 when you instantiate your dag:
   ``` python
   dag = DAG(
     access_control={
       'Role_1': {'can_dag_edit', 'can_dag_read'},
     },
     ...
     )
   ```


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