dpgaspar commented on a change in pull request #10171:
URL: 
https://github.com/apache/incubator-superset/pull/10171#discussion_r446143671



##########
File path: superset/views/core.py
##########
@@ -1380,10 +1380,17 @@ def created_dashboards(  # pylint: disable=no-self-use
     def user_slices(  # pylint: disable=no-self-use
         self, user_id: Optional[int] = None
     ) -> FlaskResponse:
-        """List of slices a user created, or faved"""
+        """List of slices a user owns or faved"""
         if not user_id:
             user_id = g.user.id
         FavStar = models.FavStar
+

Review comment:
       We should make sure `<int:user_id>` is the current user. 
   The best solution should be to just expose `/user_slices/`, @john-bodley , 
@etr2460 can we remove this?
   




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

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