Block the download action for users with Consumer role

cancel
Showing results for 
Search instead for 
Did you mean: 
itsquare
Member II

Block the download action for users with Consumer role

Hello,

I am using Alfresco Community v6.2.0 and I need to block the download action for users with Consumer role, in the document list page and in the document detail page. Anyone has any hint about how can I configure Alfresco to perform that?

Thanks for the support.

4 Replies
arjunmony
Established Member

Re: Block the download action for users with Consumer role

Hello,

You have to add custom permissions in Alfresco.

Please follow the link - https://hub.alfresco.com/t5/alfresco-content-services-hub/custom-permissions-in-share/ba-p/290124

abhinavmishra14
Moderator
Moderator

Re: Block the download action for users with Consumer role

You can make use of action evaluators to hide the download action for users who are having consumer role. Download button which you see in details page on top-right corner needs to be disabled by extending "node-header.get.js".  You don't specifically need a custom permission implementation to fix this use case, Just make use of action evaluators.

Checkout this thread and solutions: 

https://hub.alfresco.com/t5/alfresco-content-services-forum/hide-download-button-for-certain-roles/m...

 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)
itsquare
Member II

Re: Block the download action for users with Consumer role

Does this configuration also work in version 6? I was unable to replicate the configuration.

SteelFledgling
Member II

Re: Block the download action for users with Consumer role


@UPSers wrote

You can make use of action evaluators to hide the download action for users who are having consumer role. Download button which you see in details page on top-right corner needs to be disabled by extending "node-header.get.js".  You don't specifically need a custom permission implementation to fix this use case, Just make use of action evaluators.

Checkout this thread and solutions: 

https://hub.alfresco.com/t5/alfresco-content-services-forum/hide-download-button-for-certain-roles/m...

 


Thank you very much for your hard work.