Hi All,
I'm a newbie in Alfresco development and I would just like to ask for your guidance in getting the current username and permission on a per folder basis. I have been looking at the server script "document-versions.js" and I'd just like to make some modifications on it that will depend on the current username and permission (say for example I would be hiding the "Download" button if the user has a "Write" permission). Also I have been exploring the Permissions and Security API and I tested to add some codes but so far I still can't get this working. Hope you could help me out on this.
Thanks