diff --git a/superset/constants.py b/superset/constants.py index 2269bdc7b1..8399aa457a 100644 --- a/superset/constants.py +++ b/superset/constants.py @@ -100,7 +100,6 @@ MODEL_VIEW_RW_METHOD_PERMISSION_MAP = { MODEL_API_RW_METHOD_PERMISSION_MAP = { "bulk_delete": "write", - "created_by_me": "read", "delete": "write", "distinct": "read", "get": "read", diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py index 277e0d10c3..5e3f78a953 100644 --- a/superset/dashboards/api.py +++ b/superset/dashboards/api.py @@ -140,7 +140,6 @@ class DashboardRestApi(BaseSupersetModelRestApi): "set_embedded", "delete_embedded", "thumbnail", - "created_by_me", } resource_name = "dashboard" allow_browser_login = True diff --git a/superset/views/core.py b/superset/views/core.py index 1aa348d713..68ac74b365 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -1587,7 +1587,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods @event_logger.log_this @expose("/created_dashboards//", methods=["GET"]) def created_dashboards(self, user_id: int) -> FlaskResponse: - logging.warning( + logger.warning( "%s.created_dashboards " "This API endpoint is deprecated and will be removed in version 3.0.0", self.__class__.__name__,