diff --git a/UPDATING.md b/UPDATING.md index 64e22761335be..f9ffadfae7185 100644 --- a/UPDATING.md +++ b/UPDATING.md @@ -29,6 +29,7 @@ assists people when migrating to a new version. ### Breaking Changes +- [19274](https://github.com/apache/superset/pull/19274): The `PUBLIC_ROLE_LIKE_GAMMA` config key has been removed, set `PUBLIC_ROLE_LIKE` = "Gamma" to have the same functionality. - [19273](https://github.com/apache/superset/pull/19273): The `SUPERSET_CELERY_WORKERS` and `SUPERSET_WORKERS` config keys has been removed. Configure celery directly using `CELERY_CONFIG` on Superset - [19231](https://github.com/apache/superset/pull/19231): The `ENABLE_REACT_CRUD_VIEWS` feature flag has been removed (permanently enabled). Any deployments which had set this flag to false will need to verify that the React views support their use case. - [17556](https://github.com/apache/superset/pull/17556): Bumps mysqlclient from v1 to v2 diff --git a/superset/security/manager.py b/superset/security/manager.py index eb068c81fbb11..275c77a41cd20 100644 --- a/superset/security/manager.py +++ b/superset/security/manager.py @@ -726,12 +726,6 @@ def sync_role_definitions(self) -> None: self.auth_role_public, merge=True, ) - if current_app.config.get("PUBLIC_ROLE_LIKE_GAMMA", False): - logger.warning( - "The config `PUBLIC_ROLE_LIKE_GAMMA` is deprecated and will be removed " - "in Superset 1.0. Please use `PUBLIC_ROLE_LIKE` instead." - ) - self.copy_role("Gamma", self.auth_role_public, merge=True) self.create_missing_perms() diff --git a/superset/views/core.py b/superset/views/core.py index 50a56569c547c..5959584f1c2d3 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -2792,7 +2792,7 @@ def show_traceback(self) -> FlaskResponse: # pylint: disable=no-self-use def welcome(self) -> FlaskResponse: """Personalized welcome page""" if not g.user or not g.user.get_id(): - if conf.get("PUBLIC_ROLE_LIKE_GAMMA", False) or conf["PUBLIC_ROLE_LIKE"]: + if conf["PUBLIC_ROLE_LIKE"]: return self.render_template("superset/public_welcome.html") return redirect(appbuilder.get_url_for_login)