You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2023/03/29 18:54:08 UTC

[superset] branch jack/migrate-copy-dash-to-api-v1 created (now 5ae2a525db)

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a change to branch jack/migrate-copy-dash-to-api-v1
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 5ae2a525db address concerns

This branch includes the following new commits:

     new 5ae2a525db address concerns

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[superset] 01/01: address concerns

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch jack/migrate-copy-dash-to-api-v1
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 5ae2a525db85200019f224e58f02829b5bc18486
Author: hughhhh <hu...@gmail.com>
AuthorDate: Wed Mar 29 14:53:49 2023 -0400

    address concerns
---
 superset/dashboards/api.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py
index 489514bff0..24a66db2e1 100644
--- a/superset/dashboards/api.py
+++ b/superset/dashboards/api.py
@@ -1232,6 +1232,7 @@ class DashboardRestApi(BaseSupersetModelRestApi):
     @expose("/<id_or_slug>/copy/", methods=["POST"])
     @protect()
     @safe
+    @permission_name("write")
     @statsd_metrics
     @event_logger.log_this_with_context(
         action=lambda self, *args, **kwargs: f"{self.__class__.__name__}.copy_dash",