SamWheating commented on issue #33580:
URL: https://github.com/apache/airflow/issues/33580#issuecomment-1687021260

   Looking into this, it looks like the access required to `POST 
/api/v1/dags/<dag_id>/dagRun` is `can edit on dags`, `can create on dagrun`:
   
   
https://github.com/apache/airflow/blob/319045492d2559bd856a43a1fa810adf59358d7d/airflow/api_connexion/endpoints/dag_run_endpoint.py#L306-L311
   
   And in your example, you've got `can create on dagrun`, `can edit on 
dagrun`, which explains why you're getting 403'd.
   
   I'd recommend adding `can edit on dag` to your account. This worked for me 
when testing locally.


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