ashb commented on a change in pull request #4036: [AIRFLOW-2744] Allow RBAC to
accept plugins for views and links.
URL: https://github.com/apache/incubator-airflow/pull/4036#discussion_r227300064
##########
File path: docs/plugins.rst
##########
@@ -170,3 +191,16 @@ definitions in Airflow.
admin_views = [v]
flask_blueprints = [bp]
menu_links = [ml]
+ appbuilder_views = [v_appbuilder_package]
+ appbuilder_menu_items = [appbuilder_mitem]
+
+
+Note on role based views
+-------
+
+Airflow 1.10 introduced role based views using FlaskAppBuilder. You can
configure which UI is used by setting rbac = True.
+To support plugin blueprints for both versions while maintaining backwards
compatibility, additional fields in the
+AirflowTestPlugin class were added for specifically adding views and links to
FlaskAppBuilder.
+
Review comment:
Remove empty lines.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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