feat(rls): enable row level security by default (#13772)

This commit is contained in:
Ville Brofeldt 2021-03-26 17:40:41 +02:00 committed by GitHub
parent 3cfeb43878
commit 5ae91e2dd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,8 @@ This file documents any backwards-incompatible changes in Superset and
assists people when migrating to a new version.
## Next
- [13772](https://github.com/apache/superset/pull/13772): Row level security (RLS) is now enabled by default. To activate the feature, please run `superset init` to expose the RLS menus to Admin users.
### Breaking Changes
### Potential Downtime
### Deprecations

View File

@ -349,7 +349,7 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = {
# by that custom datasource access. So we are assuming a default security config,
# a custom security config could potentially give access to setting filters on
# tables that users do not have access to.
"ROW_LEVEL_SECURITY": False,
"ROW_LEVEL_SECURITY": True,
# Enables Alerts and reports new implementation
"ALERT_REPORTS": False,
# Enable experimental feature to search for other dashboards

View File

@ -56,7 +56,6 @@ FEATURE_FLAGS = {
"SHARE_QUERIES_VIA_KV_STORE": True,
"ENABLE_TEMPLATE_PROCESSING": True,
"ENABLE_REACT_CRUD_VIEWS": os.environ.get("ENABLE_REACT_CRUD_VIEWS", False),
"ROW_LEVEL_SECURITY": True,
"ALERT_REPORTS": True,
"DASHBOARD_NATIVE_FILTERS": True,
}