cancel
Showing results for 
Search instead for 
Did you mean: 

Allow Documents download for only a specified group

samirastucia
Champ in-the-making
Champ in-the-making
Hello,

I want to allow the document download action only available for a particular usergroup.

I found thoses solutions but they don't apply to Alfresco 5.0.d:

http://www.curiousnerd.me/alfresco-custom-role-extension/
https://arkuarku.wordpress.com/2014/02/09/add-candownload-permission-in-alfresco-community-4-2-x/

Any help please?
1 REPLY 1

art99trash
Star Contributor
Star Contributor
You might try adding something like this to your share-config-custom.xml.
(Where the custom evaluator restricts the action to the particular group you want.)


  <config evaluator="string-compare" condition="DocLibActions">
    <actions>
      <action id="document-download" type="link" label="actions.document.download">
   <param name="href">{downloadUrl}</param>
        <evaluator>Your-Custom-Evaluator-Here</evaluator>
      </action>
    </actions>
  </config>