This is an automated email from the ASF dual-hosted git repository.

eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new ba313cd47a Remove references to `rbac = True` from docs (#22725)
ba313cd47a is described below

commit ba313cd47a5236623479d11a239c110c2539a66d
Author: eladkal <[email protected]>
AuthorDate: Mon Apr 4 16:09:52 2022 +0300

    Remove references to `rbac = True` from docs (#22725)
---
 docs/apache-airflow/plugins.rst            | 10 ----------
 docs/apache-airflow/security/webserver.rst |  9 +--------
 2 files changed, 1 insertion(+), 18 deletions(-)

diff --git a/docs/apache-airflow/plugins.rst b/docs/apache-airflow/plugins.rst
index 5a2f891b2e..f719cbae23 100644
--- a/docs/apache-airflow/plugins.rst
+++ b/docs/apache-airflow/plugins.rst
@@ -247,16 +247,6 @@ definitions in Airflow.
 
 .. seealso:: :doc:`/howto/define_extra_link`
 
-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 views and links for both versions of the UI 
and maintain backwards compatibility,
-the fields ``appbuilder_views`` and ``appbuilder_menu_items`` were added to 
the ``AirflowTestPlugin`` class.
-
-``appbuilder_views`` supports both views-with-menu and views-without-menu - to 
add a view with menu link, add a "name"
-key in view's package dictionary, otherwise the view is added to flask 
appbuilder without menu item.
-
 Exclude views from CSRF protection
 ----------------------------------
 
diff --git a/docs/apache-airflow/security/webserver.rst 
b/docs/apache-airflow/security/webserver.rst
index edd43ce359..3ec4ea8716 100644
--- a/docs/apache-airflow/security/webserver.rst
+++ b/docs/apache-airflow/security/webserver.rst
@@ -96,17 +96,10 @@ Please use command line interface ``airflow users create`` 
to create accounts, o
 Other Methods
 '''''''''''''
 
-Since the Airflow 2.0, the default UI is the Flask App Builder RBAC. A 
``webserver_config.py`` configuration file
+Since Airflow 2.0, the default UI is the Flask App Builder RBAC. A 
``webserver_config.py`` configuration file
 is automatically generated and can be used to configure the Airflow to support 
authentication
 methods like OAuth, OpenID, LDAP, REMOTE_USER.
 
-For previous versions from Airflow, the ``$AIRFLOW_HOME/airflow.cfg`` 
following entry needs to be set to enable
-the Flask App Builder RBAC UI.
-
-.. code-block:: ini
-
-    rbac = True
-
 The default authentication option described in the :ref:`Web Authentication 
<web-authentication>` section is related
 with the following entry in the ``$AIRFLOW_HOME/webserver_config.py``.
 

Reply via email to