[
https://issues.apache.org/jira/browse/AIRFLOW-2744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624697#comment-16624697
]
Olivier Simard-Morissette commented on AIRFLOW-2744:
----------------------------------------------------
I created a fix in a forked private repo which will allow you to create plugins
for the www_rbac UI if you define your plugin views using the flask_appbuilder
BaseView or some subclass. It also supports links. However, I feel it doesn't
tie the old and new plugins system well together. How should we design this so
that both the old plugins and new plugins work? Or should we drop support for
the old plugins all together?
I would love to work on this and submit a pull request back to the old project
since this is very important for me to get working. However, I'm new to the
Airflow project and would like someone to let me know what's the best way to
precede with my fix. Should I just make A PR even though I know it's not a
perfect solution yet and get some feedback early?
> RBAC app doesn't integrate plugins (blueprints etc)
> ---------------------------------------------------
>
> Key: AIRFLOW-2744
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2744
> Project: Apache Airflow
> Issue Type: Bug
> Components: webapp, webserver
> Affects Versions: 2.0.0
> Reporter: David Dossett
> Priority: Major
>
> In the current 1.10.0rc tag, the new RBAC app doesn't integrate any plugins
> created by a user extending Airflow. In the old www/app.py you had the
> [integrate_plugins|https://github.com/apache/incubator-airflow/blob/f1083cbada337731ed0b7e27b09eee7a26c8189a/airflow/www/app.py#L126]
> function. But currently the
> [www_rbac/app.py|https://github.com/apache/incubator-airflow/blob/f1083cbada337731ed0b7e27b09eee7a26c8189a/airflow/www_rbac/app.py]
> doesn't pull in any plugins from the plugin_manager. So nothing you do to
> extend Airflow's webapp will work.
> I think adding the code for registering the blueprints and menu links is a
> pretty simple fix. I'm not sure how the FAB system is handling the same
> functionality as Flask-Admin views though.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)