Hi Community:
I want to disable the top right corner Download button, and we can use code 'model.showDownload = "false"' to do it.
But how to add a judging condition that if user who only have read permission, then disable it?
Please refer the JS file as below, thank!
node-header.get.js
<import resource="classpath:/alfresco/templates/org/alfresco/import/alfresco-util.js">
var .......
if ( Here: If users only have Read permission, then hide Download button, how to creat the judging condition? ){
model.showDownload = "false";
}
Hi Team;
Could you give me some advise to limit download?
Any help will be greatly appreciated. My code is as follows:
node-header.get.js
<import resource="classpath:/alfresco/templates/org/alfresco/import/alfresco-util.js">
var .......
if ( Here: If users only have Read permission, then hide Download button, how to creat the judging condition? ){
model.showDownload = "false";
}
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.