You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/07/04 07:30:37 UTC

[GitHub] nihalbtq8 opened a new issue #5340: Disable (Export to CSV, Explore Chart) from Dashboard Permission.

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:
users@infra.apache.org


With regards,
Apache Git Services

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