pierrejeambrun commented on issue #45304:
URL: https://github.com/apache/airflow/issues/45304#issuecomment-2575295585

   All CLI actions will eventually go through the API and the API is 
responsible for login any user action already with the `action_logging` or 
something similar on the new FastAPI API.
   
   I assume that API authentication when calling from the CLI has specific 
permissions etc... and that it is authenticated through a dedicated role / has 
a specific token / something identifiable from the API to know that this is a 
call that is coming from the CLI. Because for instance some endpoints are only 
accessible from the CLI (specific permissions etc...). Thus I think the API 
should be able to log properly the actions and the `owner` should be `cli`. 
Command can be pushed into extra ?


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