<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Get AllowableActions from Java WebScript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-allowableactions-from-java-webscript/m-p/281786#M234916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please, any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2014 14:20:45 GMT</pubDate>
    <dc:creator>dodjavola</dc:creator>
    <dc:date>2014-12-22T14:20:45Z</dc:date>
    <item>
      <title>Get AllowableActions from Java WebScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-allowableactions-from-java-webscript/m-p/281786#M234916</link>
      <description>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", "canC</description>
      <pubDate>Mon, 22 Dec 2014 14:20:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-allowableactions-from-java-webscript/m-p/281786#M234916</guid>
      <dc:creator>dodjavola</dc:creator>
      <dc:date>2014-12-22T14:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get AllowableActions from Java WebScript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-allowableactions-from-java-webscript/m-p/281787#M234917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a look at the Permission Service method getPermissions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/org/alfresco/service/cmr/security/PermissionService.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/org/alfresco/service/cmr/security/PermissionService.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should return a set of AccessPermission classes which you should be able to iterate through.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 23:05:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-allowableactions-from-java-webscript/m-p/281787#M234917</guid>
      <dc:creator>parashiftaustra</dc:creator>
      <dc:date>2014-12-23T23:05:23Z</dc:date>
    </item>
  </channel>
</rss>

