uranusjr commented on a change in pull request #15940:
URL: https://github.com/apache/airflow/pull/15940#discussion_r635199998



##########
File path: airflow/www/views.py
##########
@@ -4162,7 +4162,7 @@ def class_permission_name(self):
         """Returns appropriate permission name depending on request method 
name."""
         if request:
             action_name = request.view_args.get("name")
-            _, method_name = request.url_rule.endpoint.split(".")
+            _, method_name = request.url_rule.endpoint.rsplit(".", 1)

Review comment:
       Oops, this is unrelated and should have been submitted separately. A 
trivial cleanup though so probably OK to have it here.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to