Download permission

Its possible to deny to a group the download action? or hide the Download button to them? I want users just to “read” the files but not download them.

Thanks

0 votes

2 answers

919 views

ANSWER



With Nuxeo 7.4, it is now super easy: https://doc.nuxeo.com/x/BI_RAQ

0 votes



Hello,

You can make it in a custom plugin. You must have a custom action-contrib.xml to override your action. For example i overrided quota action as follow:

<action id="TAB_QUOTA" link="/incl/tabs/document_quota.xhtml"
  order="400" label="action.view.quota" icon="/icons/file.gif"
  accessKey="q">
  <category>VIEW_ACTION_LIST</category>
  <filter-id>QUOTA_MANAGABLE_DOCTYPES</filter-id>
  <filter id="QUOTA_MANAGABLE_DOCTYPES_has_subtabs">
    <rule grant="true">
      <condition>#{userSession.administrator}</condition>
    </rule>
  </filter>
</action>

You can specify yours access conditions.

Hope its help you.

0 votes