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

   > 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 ?
   > 
   > I think this comes down to:
   > 
   > * How is the API authentication working when calling from the CLI ? How is 
the token retrieved, what user and role, etc.
   
   Many thanks for your perspective on this! I have very high-level answers at 
the moment which may not be enough to make decisions. The answers to these 
questions will enlighten multiple parts of this project. I will answer them in 
a detailed way very soon to be brought up into discussion. So that we won't do 
any duplicate or overlapping work


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