nihalbtq8 opened a new issue #5340: Disable (Export to CSV, Explore Chart) from 
Dashboard Permission.
URL: https://github.com/apache/incubator-superset/issues/5340
 
 
   Is there any permission that disable the export to csv option in a Slice 
from within the Dashboard?
   
   I couldnt find any in documentation.
   
   I also tried editing commenting out the relevant part in 
/static/assets/javascripts/dashboard/components/SliceHeader.jsx
   
   `                  tooltip={t('Edit chart')} 
                   > 
                     <i className="fa fa-pencil" /> 
                   </TooltipWrapper> 
                 </a> 
   /*              <a className="exportCSV" href={this.props.exportCSVUrl}> 
                   <TooltipWrapper 
                     placement="top" 
                     label="exportCSV" 
                     tooltip={t('Export CSV')} 
                   > 
                     <i className="fa fa-table" /> 
                   </TooltipWrapper> 
                 </a> */ 
                 <a className="exploreChart" href={this.props.exploreChartUrl} 
target="_blank">
   `
   
   Why doesnt this work?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to