bugraoz93 opened a new pull request, #26467:
URL: https://github.com/apache/airflow/pull/26467

   closes: #23638
   
   The implementation provides basic owner management over the user-defined 
owner field coming from DAGs. The implementation is functional. I tested over 
multiple cases such as those below. 
   ```
   dag1_owner:team1,team2
   dag2_owner:team1
   dag3_owner:team3
   dag4_owner:team4,team5
   
   user1: team1
   user2:team3,team4
   user3:team2
   ```
   
   It is exactly acting as stated in the issue. We will have resources such as 
`OWNER:team1`. It will be generated by unique team names given to the DAGs 
owner field. It has the same behavior as DAG resources such as `DAG:dag1`.So 
that, we can now add permission to a role such as below. 
   ```
   can read on OWNER:team1 
   can edit on OWNER:team1
   can delete on OWNER:team1
   ```
   
   **Important Note:** It is not ready to be merged. I haven't implemented the 
unit tests because I want to ensure the approach is good. After deciding on the 
approach and finalizing the functional implementation, I will implement the 
unit tests.
   


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