leehuwuj commented on issue #23473:
URL: https://github.com/apache/airflow/issues/23473#issuecomment-1117150516

   > How are you trying to insert the roles/permissions?
   
   Actually, I wrote a trigger script at database level which assigns DAG 
permissions for target role based on `team_name` pattern in DAG id that i 
mentioned above. Of course my scripts could not works since there is no new DAG 
id followed by that convention in `ab_view_menu` table.
   And i also can not do it in UI as mentioned in the issue description.
   
   By the way, i also add a pattern to the issue that there's DAG permissions 
which have wrong dag_id in theirs name. Please check again. I think Airflow 
tried to create dag permission but got issue with dot symbol in dag_id.
   


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