SubhamSinghal opened a new issue, #38919:
URL: https://github.com/apache/airflow/issues/38919

   ### Apache Airflow Provider(s)
   
   databricks
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-common-io==1.2.0
   apache-airflow-providers-common-sql==1.10.0
   apache-airflow-providers-databricks==6.1.0
   apache-airflow-providers-ftp==3.7.0
   apache-airflow-providers-http==4.8.0
   apache-airflow-providers-imap==3.5.0
   apache-airflow-providers-sqlite==3.7.0
   
   ### Apache Airflow version
   
   2.8.1
   
   ### Operating System
   
   ubuntu
   
   ### Deployment
   
   Google Cloud Composer
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   Update job permission failed due to extra slash 
   
   ### What you think should happen instead
   
   Update job permission should have updated job permissions
   
   ### How to reproduce
   
   Create a job config with access control list.
   
   ```
    access_control = [{
               "group_name": "abc",
               "permission_level": "CAN_MANAGE_RUN"
           }]
   ```
   In the first run CreateJobOperator updates ACL properly. Now update ACL list 
and run CreateJobOperator again.
   
    ```
   access_control = [{
               "group_name": "abc",
               "permission_level": "CAN_MANAGE_RUN"
           },
           {
               "group_name": "def",
               "permission_level": "CAN_MANAGE_RUN"
           }
   ]
   ```
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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