bito-code-review[bot] commented on PR #38847:
URL: https://github.com/apache/superset/pull/38847#issuecomment-4133624629

   <!-- Bito Reply -->
   The security concern is valid: relying on client-supplied 'creation_method' 
in create.py allows potential bypass for sending reports to any email. Creating 
a separate endpoint like POST /api/v1/report/my_report, restricted to Gamma 
users, enforces server-side security and aligns with the update.py validation 
that forces user emails for chart/dashboard reports.


-- 
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