Prevent Download and View in Browser for Consumer Role
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2015 04:30 AM
Hi, I am new to Alfresco and I am having issues to hide/disable the download option and hide View In Browser for users with Consumer/Site Consumer role. Can anyone help me plz..
Thanks
Thanks
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2015 03:41 AM
Hi,
You can add permission tag in <strong>share-documentlibrary-config.xml</strong> as below:
You can add permission tag in <strong>share-documentlibrary-config.xml</strong> as below:
<!– Download document –> <action id="document-download" type="link" label="actions.document.download"> <param name="href">{downloadUrl}</param> <evaluator>evaluator.doclib.action.downloadBrowser</evaluator> <permissions> <permission allow="true">Write</permission> </permissions> </action> <!– View document in browser –> <action id="document-view-content" type="link" label="actions.document.view"> <param name="href">{viewUrl}</param> <permissions> <permission allow="true">Write</permission> </permissions> </action>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2015 02:53 AM
thank you lemetree, your suggestion worked well. you save my day.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2015 03:37 PM
hi. i need help with this too. tried adding it in the said file. nothing happens. i have 5.0c version. thanks!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2019 01:18 AM
Thanks LemeTree it work for me, my Version is 5.2.0 ..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2016 03:38 AM
Hi, I placed the above configuration in share-documentlibrary-config.xml. The view in browser option is removed from both contributor and consumer but I want it to be removed only from consumer. am I missing some configuration. Thank you in advance
