hi team
i have came across a requirement in my current project, where i have to disable all dowload buttons in share so that a set of users (organized via groups) can not see download link and can not download the content.
I was able to hide download link and download action for the group using action evaluators.
I took help from this post and made some additional changes to handle group: https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-disabling-preview-download-in-alfresco-5-2/m-p/10342
Everything works fine. But during unit test i found i was able to download the content using REST "/api/node/content/{storeType}/{storeId}/{id}" api.
Is there a way i can restrict the download on this API or i can disable this api and create custom download API to handle the group checks ?