oliviersm199 opened a new pull request #4036: [AIRFLOW-2744] Allow RBAC to 
accept plugins for views and links.
URL: https://github.com/apache/incubator-airflow/pull/4036
 
 
   ### Description
   
   Airflow Users that wish to create plugins for the new www_rbac UI can not 
add plugin views or links. This PR fixes that by letting a user specify their 
plugins for www_rbac and maintains backwards compatibility with the existing 
plugins system.
   
   Adds two additional members of an AirflowPlugin class to cover role based 
views and role based menu items. Specifies that the user can create a 
dictionary which has the metadata necessary to create a FlaskAppBuilder 
BaseView or MenuItem. This lets the plugins manager extend to the new www_rbac 
GUI.
   
   ### Tests
   
   Adds unit tests under the plugins manager to test that the www_rbac views 
and menu links get added successfully.
   
   ### Documentation
   
   Demonstrates in the plugins page how a user would create plugins for the new 
UI with an example. 
   
   

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

Reply via email to