kyungjunleeme commented on PR #53567: URL: https://github.com/apache/airflow/pull/53567#issuecomment-3100753069
> Thanks for the update! > > However, there still are some inconsistence between the `GetUserDep` usage in `security` module. > > Should using `Depends(get_user)` be enough? Or if there is necessity to use `Security(get_user)`, we should modify in the `security` module instead. Since all the current authentization laverge `GetUserDep = Annotated[BaseUser, Depends(get_user)]`. `GetUserDep = Annotated[BaseUser, Depends(get_user)]` seems sufficient for now, especially from the perspective of code consistency. If we decide to enhance the security features in the future, we can revisit this and consider more advanced options then. -- 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]
