sha174n commented on code in PR #38847:
URL: https://github.com/apache/superset/pull/38847#discussion_r3000748860


##########
superset/commands/report/update.py:
##########
@@ -89,6 +97,26 @@ def validate(self) -> None:  # noqa: C901
         ):
             self._properties["last_state"] = ReportState.NOOP
 
+        # For reports created from charts or dashboards the recipient must 
always
+        # be the requesting user's own email address.
+        if (

Review Comment:
   Good call, went with the dedicated endpoint.
   Added POST /api/v1/report/subscribe with its own subscribe permission - 
schema strips recipients and creation_method entirely, both derived server-side.
   Original POST /api/v1/report/ untouched for admin workflows.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to