vincbeck commented on code in PR #32525:
URL: https://github.com/apache/airflow/pull/32525#discussion_r1261319992


##########
airflow/www/security.py:
##########
@@ -56,8 +57,11 @@
     "Public",
 }
 
+# Fetch the security manager override from the auth manager
+SecurityManagerOverride = 
get_auth_manager().get_security_manager_override_class()
 
-class AirflowSecurityManager(SecurityManager, LoggingMixin):
+
+class AirflowSecurityManager(SecurityManager, LoggingMixin, 
SecurityManagerOverride):  # type: ignore

Review Comment:
   Thanks! I did not know that. `SecurityManagerOverride` should indeed take 
precedence over `SecurityManager`. I fixed the order



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