Restricting the data export in the instance

Harish Goutham
Kilo Guru

Hi

          I need to restrict the data that can be exported by users. I would like only a certain users with specific roles to be able to export data out of the instance. Any suggestions on how to do it.

 

Thanks

Harish

 

Kalaiarasan P

12 REPLIES 12

Hi Ankit/Harish,



If you navigate to UI Context Menu - search for export - in the conditions add hasRole("admin") this should restrict this button to only be viewable to admins.



Screen Shot 2015-01-13 at 10.19.55.png


Please let me know if this works for you guys.


find_real_file.png



i just added the condition   && g_user.hasRole('admin'), means only Admin users will beable to see the export option in context menu.



Plz Mark correct/Like/Helpful


This condition was close but did not fulfill the need for me.  Here is the before and after condition that allows only admins to export via the List context menu.

Condition before: !ListProperties.isRelatedList() && !ListProperties.isRefList()

Condition after: (gs.hasRole('admin')) && !ListProperties.isRelatedList() && !ListProperties.isRefList()