diff --git a/UPDATING.md b/UPDATING.md index 1810a22306051..f71d884091c64 100644 --- a/UPDATING.md +++ b/UPDATING.md @@ -23,6 +23,7 @@ This file documents any backwards-incompatible changes in Superset and assists people when migrating to a new version. ## 2.1.1 +- [24185](https://github.com/apache/superset/pull/24185): `/api/v1/database/test_connection` and `api/v1/database/validate_parameters` permissions changed from `can_read` to `can_write`. Only Admin user's have access. ### Other diff --git a/superset/constants.py b/superset/constants.py index cdbce050d360f..c3190ce1bf38b 100644 --- a/superset/constants.py +++ b/superset/constants.py @@ -125,8 +125,8 @@ class RouteMethod: # pylint: disable=too-few-public-methods "select_star": "read", "table_metadata": "read", "table_extra_metadata": "read", - "test_connection": "read", - "validate_parameters": "read", + "test_connection": "write", + "validate_parameters": "write", "favorite_status": "read", "thumbnail": "read", "import_": "write",