robinedwards commented on a change in pull request #7251: [AIRFLOW-6628] Fix
search auto complete behaviour
URL: https://github.com/apache/airflow/pull/7251#discussion_r371150314
##########
File path: airflow/www/views.py
##########
@@ -325,10 +319,36 @@ def get_int_arg(value, default=0):
paging=wwwutils.generate_pages(current_page, num_of_pages,
search=escape(arg_search_query) if
arg_search_query else None,
showPaused=not hide_paused),
- auto_complete_data=auto_complete_data,
num_runs=num_runs,
tags=tags)
+ @expose('/dag_autocomplete')
+ @has_access
Review comment:
Just spoke with @mik-laj on Slack:
"I think it would be better to create a new permission. I will create the
API in the near future and the model of permissions will change radically.
each view is a new permission and this rule will make it easier for us to
refactor in the future now."
----------------------------------------------------------------
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]
With regards,
Apache Git Services