How to deny Export to Excel in HTML5?

Is it possible to deny Export to Excel in HTML5?

The solution is still the same as for Flash. It is configured in OrigamSettings.config file. Add the parameter ExportRecordsLimit among the other settings and set the value to zero. The Excel file is created, but instead of the records you only get column headers and an error message that the number of records for export was exceeded.

<ExportRecordsLimit>0</ExportRecordsLimit>

I added ExportRecordsLimit in OrigamSettings.config.
But the excel sheet is normally exported with all the data.

To be exact, my case is more complicated - the customer wants to deny export only for some users.
I have been using SYS_ExcelExport_Unlimited role, but it seems not working too.

Version: 2021.1.1875.0