felipegasparini commented on issue #4036: [AIRFLOW-2744] Allow RBAC to accept 
plugins for views and links.
URL: https://github.com/apache/airflow/pull/4036#issuecomment-452113006
 
 
   We also need to fix the example in the documentation 
(https://airflow.apache.org/plugins.html#example). It is currently broken: 
import fails, wrong method name in the view and missing path for templates.
   
   I made a sample project to make this plugin integration work: 
https://github.com/felipegasparini/airflow_plugin_rbac_test/blob/dbaa049a9996df275b1d90f74b93ffbf206bb1d5/airflow/plugins/test_plugin/test_plugin.py
   
   I will submit a PR to fix the doc later, but just posting it here since it 
may be useful for others.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to