arkonchik commented on issue #15855:
URL: https://github.com/apache/superset/issues/15855#issuecomment-886253707


   So, if we want to disable this button I think we need to do just this 
https://i.imgur.com/clpi0ad.png
   but it didn't work.
   What i did wrong @junlincc ? 
   
   diff --git a/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx 
b/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx
   index 15a009699..93e8b5d42 100644
   --- a/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx
   +++ b/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx
   @@ -151,7 +151,7 @@ const DatasetList: FunctionComponent<DatasetListProps> = 
({
      const canEdit = hasPerm('can_write');
      const canDelete = hasPerm('can_write');
      const canCreate = hasPerm('can_write');
   -  const canExport = hasPerm('can_read');
   +  const canExport = False;
   
   
   
   
   


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