<?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 Re: Permission API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277564#M230694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Java API has a method to get all thre Authorities directly granted read permission.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You woud have to expand groups to include all thier members.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2011 18:51:13 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2011-10-07T18:51:13Z</dc:date>
    <item>
      <title>Permission API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277559#M230689</link>
      <description>Hi Everyone,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm newbie alfresco.I read http://wiki.alfresco.com/wiki/3.4_JavaScript_API#Permission_and_Security_API but I am not yet to know how to start. I need to example API for get all permission step by step. Somebody help me.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank so much.</description>
      <pubDate>Sun, 02 Oct 2011 12:57:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277559#M230689</guid>
      <dc:creator>akie</dc:creator>
      <dc:date>2011-10-02T12:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Permission API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277560#M230690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;somebody help me&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 05:55:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277560#M230690</guid>
      <dc:creator>akie</dc:creator>
      <dc:date>2011-10-05T05:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Permission API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277561#M230691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suspect you haven't had any replies because you haven't stated very clearly what you are trying to achieve; what you've already tried; what you don't understand and need explaining; etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try to be more specific with questions rather than just "I read an article and don't get it".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 07:57:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277561#M230691</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2011-10-05T07:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Permission API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277562#M230692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to api for get permission all folder and make report in website. Example who can access which folder. I try to study database relation but I don't have more knowledge.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 15:22:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277562#M230692</guid>
      <dc:creator>akie</dc:creator>
      <dc:date>2011-10-06T15:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Permission API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277563#M230693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A crude way would be to loop through all users calling hasReadPermission(folderNodeRef). :roll: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A less crude way would be to call getPermissions(folderNodeRef) to receive a list of AccessPermissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can then look for "Read" Permission and "ALLOWED" to get the corresponding authority name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For the case where the authority is a group you could then call the authority service or the group service to work out the users contained within that group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT - the above is for the Java API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For Java script the approach is much the same but you would call getPermissions on a script node and then iterate through those results.&amp;nbsp;&amp;nbsp; The crude way would not work on the Script API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 16:08:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277563#M230693</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-10-06T16:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Permission API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277564#M230694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Java API has a method to get all thre Authorities directly granted read permission.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You woud have to expand groups to include all thier members.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 18:51:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277564#M230694</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2011-10-07T18:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Permission API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277565#M230695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank mrogers and Andy &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have example code or URL for java api, please help me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 12:22:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/permission-api/m-p/277565#M230695</guid>
      <dc:creator>akie</dc:creator>
      <dc:date>2011-10-10T12:22:40Z</dc:date>
    </item>
  </channel>
</rss>

