mirror of https://github.com/apache/superset.git
chore: remove user registrations menu for non-admins (#24198)
This commit is contained in:
parent
6f145dfe36
commit
c09b8c6ec8
|
@ -34,6 +34,7 @@ assists people when migrating to a new version.
|
|||
|
||||
### Breaking Changes
|
||||
|
||||
- [24198](https://github.com/apache/superset/pull/24198) The FAB views `User Registrations` and `User's Statistics` have been changed to Admin only. To re-enable them for non-admin users, please add the following perms to your custom role: `menu access on User's Statistics` and `menu access on User Registrations`.
|
||||
- [24354](https://github.com/apache/superset/pull/24354): Removed deprecated APIs `/superset/testconn`, `/superset/validate_sql_json/`, `/superset/schemas_access_for_file_upload`, `/superset/extra_table_metadata`
|
||||
- [24381](https://github.com/apache/superset/pull/24381): Removed deprecated API `/superset/available_domains/`
|
||||
- [24359](https://github.com/apache/superset/pull/24359): Removed deprecated APIs `/superset/estimate_query_cost/..`, `/superset/results/..`, `/superset/sql_json/..`, `/superset/csv/..`
|
||||
|
|
|
@ -88,7 +88,7 @@ flask==2.2.5
|
|||
# flask-migrate
|
||||
# flask-sqlalchemy
|
||||
# flask-wtf
|
||||
flask-appbuilder==4.3.0
|
||||
flask-appbuilder==4.3.2
|
||||
# via apache-superset
|
||||
flask-babel==1.0.0
|
||||
# via flask-appbuilder
|
||||
|
|
2
setup.py
2
setup.py
|
@ -81,7 +81,7 @@ setup(
|
|||
"cryptography>=39.0.1, <40",
|
||||
"deprecation>=2.1.0, <2.2.0",
|
||||
"flask>=2.2.5, <3.0.0",
|
||||
"flask-appbuilder>=4.3.0, <5.0.0",
|
||||
"flask-appbuilder>=4.3.2, <5.0.0",
|
||||
"flask-caching>=1.10.1, <1.11",
|
||||
"flask-compress>=1.13, <2.0",
|
||||
"flask-talisman>=1.0.0, <2.0",
|
||||
|
|
|
@ -175,6 +175,8 @@ class SupersetSecurityManager( # pylint: disable=too-many-public-methods
|
|||
"RowLevelSecurityFiltersModelView",
|
||||
"Security",
|
||||
"SQL Lab",
|
||||
"User Registrations",
|
||||
"User's Statistics",
|
||||
} | USER_MODEL_VIEWS
|
||||
|
||||
ALPHA_ONLY_VIEW_MENUS = {
|
||||
|
|
Loading…
Reference in New Issue