AnsweredAssumed Answered

Get AllowableActions from Java WebScript

Question asked by dodjavola on Dec 22, 2014
Latest reply on Dec 23, 2014 by parashiftaustralia

Hello everyone. I am currently working on Java web script that should return some node metadata. One of the requirements is to get AllowableActions on that node, by the user which is logged in. AllowableActions needs to look like the ones you get through CMIS (something like "canDeleteFolder", "canCheckOut", etc). Is it possible to do that from WebScript? Going though to Alfresco source code, I see that it's done by PermissionActionEvaluator, but I am not sure how to get to it through ServiceRegistry.
Please, any help would be appreciated.

Thanks in advance…