eschutho commented on issue #24399:
URL: https://github.com/apache/superset/issues/24399#issuecomment-2359688232

   If someone wants to contribute a fix for this, you can try something like 
this in superset-frontend/src/explore/components/SaveModal.tsx:
   ```  
   canOverwriteSlice(): boolean {
       const { user } = this.props;
       const isAdmin = user.roles?.Admin;
       return (
         (this.props.slice?.owners?.includes(user.userId) || isAdmin) &&
         !this.props.slice?.is_managed_externally
       );
     }
     ```
     I haven't tested to see if the backend would allow this operation, but I 
suspect that it will. We'll help review it for you. 


-- 
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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to