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

dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 23fc9a7  [config] Disable FAB's permission and view menus views (#9133)
23fc9a7 is described below

commit 23fc9a7a72721967754cc2e8c3008a7c720dcb61
Author: Daniel Vaz Gaspar <[email protected]>
AuthorDate: Tue Feb 25 00:49:56 2020 +0000

    [config] Disable FAB's permission and view menus views (#9133)
---
 UPDATING.md        | 7 +++++++
 superset/config.py | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/UPDATING.md b/UPDATING.md
index d524f65..3d20f49 100644
--- a/UPDATING.md
+++ b/UPDATING.md
@@ -22,13 +22,20 @@ This file documents any backwards-incompatible changes in 
Superset and
 assists people when migrating to a new version.
 
 ## Next
+
+* [9133](https://github.com/apache/incubator-superset/pull/9133): Security 
list of permissions and list views has been
+disable by default. You can optionally enable them back again by setting the 
following config keys: 
+FAB_ADD_SECURITY_PERMISSION_VIEW, FAB_ADD_SECURITY_VIEW_MENU_VIEW, 
FAB_ADD_SECURITY_PERMISSION_VIEWS_VIEW to True.
+ 
 * [9173](https://github.com/apache/incubator-superset/pull/9173): Changes the 
encoding of the query source from an int to an enum.
+
 * [9120](https://github.com/apache/incubator-superset/pull/9120): Changes the 
default behavior of ad-hoc sharing of
 queries in SQLLab to one that links to the saved query rather than one that 
copies the query data into the KVStore
 model and links to the record there. This is a security-related change that 
makes SQLLab query
 sharing respect the existing role-based access controls. Should you wish to 
retain the existing behavior, set two feature flags:
 `"KV_STORE": True` will re-enable the `/kv/` and `/kv/store/` endpoints, and 
`"SHARE_QUERIES_VIA_KV_STORE": True`
 will tell the front-end to utilize them for query sharing.
+
 * [9109](https://github.com/apache/incubator-superset/pull/9109): Expire 
`filter_immune_slices` and
 `filter_immune_filter_fields` to favor dashboard scoped filter metadata 
`filter_scopes`.
 
diff --git a/superset/config.py b/superset/config.py
index ef473ed..5d9de46 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -586,6 +586,9 @@ ENABLE_CHUNK_ENCODING = False
 SILENCE_FAB = True
 
 FAB_ADD_SECURITY_VIEWS = True
+FAB_ADD_SECURITY_PERMISSION_VIEW = False
+FAB_ADD_SECURITY_VIEW_MENU_VIEW = False
+FAB_ADD_SECURITY_PERMISSION_VIEWS_VIEW = False
 
 # The link to a page containing common errors and their resolutions
 # It will be appended at the bottom of sql_lab errors.

Reply via email to