12-07-2012 03:30 AM
12-07-2012 12:13 PM
12-13-2012 11:30 PM
Hello,hi AFaust,
two basic approaches are possible here:
1) Do not grant the people read permissions on the content - either they are allowed to access (and thus download) a file or not. Since Alfresco provides various ways to access content, you will find that users do find a way to download content even if the action is not available in the main UI. Only by limiting the permissions can you be certain they can't view / download content at all.
2) Change the configuration for the download action via configuration in your share-config.xml. Take a look at the documentation on how you could remove or limit the availability of an action via configuration.
Regards
Axel
12-14-2012 11:40 AM
12-14-2012 01:15 PM
<action id="document-download" type="link" label="actions.document.download">
<param name="href">{downloadUrl}</param>
</action>
<action id="document-download" type="link" label="actions.document.download">
<param name="href">{downloadUrl}</param>
<permissions>
<permission allow="true">Name_of_your_Download_Permission</permission>
</permissions>
</action>
It is unreasonable to expect Alfresco users to edit the code for such a basic feature.This question was asked in the "Developer Discussions" forum. I do expect Alfresco developers to edit code for basic customizations and assume anyone here to be a developer unless stated otherwise, like you did.
Either provide precise instructions of exactly what file(s) to edit (including the code replacements) or offer a script which will make the appropriate changes.I have indicated a resource where relevant instructions and documentation can be found. Now I am glad to assist in any follow-up questions, but do not see myself as a free-to-hire developer that has to present a ready-to-use solution, especially if I don't know enough about the application context to do so.
Better yet, include this feature user/group management interface in the next release.This is primarily a community forum for exchanging ideas or requesting help from fellow members of the community. I am not an Alfresco employee and have no say in the development plans for the product. If you'd like to request a feature from Alfresco, please feel free to raise an "Improvement" in the official Alfresco JIRA, which tracks concrete requests from the user / developer community and is open for input from anyone.
12-17-2013 10:51 PM
10-13-2014 10:53 AM
02-18-2016 04:25 PM
<multi-select>
- <action type="action-link" id="onActionDownload" label="menu.selected-items.download" />
- <action type="action-link" id="onActionCopyTo" label="menu.selected-items.copy" />
+ <action type="action-link" id="onActionDownload" permission="Write" label="menu.selected-items.download" />
+ <action type="action-link" id="onActionMultiDownload" permission="Write" label="menu.selected-items.multidownload" />
+ <action type="action-link" id="onActionCopyTo" permission="Write" label="menu.selected-items.copy" />
<action type="action-link" id="onActionMoveTo" permission="Delete" label="menu.selected-items.move"/>
<action type="action-link" id="onActionAssignWorkflow" asset="document" label="menu.selected-items.assign-workflow"/>
<action type="action-link" id="onActionDelete" permission="Delete" label="menu.selected-items.delete"/>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.