<?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 rights nuxeo automation client in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/get-rights-nuxeo-automation-client/m-p/314958#M1959</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am using nuxeo automation client to see the documents and folders in my nuxeo repository.
My goal is to print a tree with the documents AND their rights.&lt;/P&gt;
&lt;P&gt;The point is, I don't know how to get the ACL/ACE of a document since the only properties I find when I do&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;ArrayList&amp;lt;CUFRDoc&amp;gt; father = doc.getDocuments(session,"SELECT * FROM Document WHERE ecm:path='/default-domain/workspaces/Stage/test1'");
				    
//Properties
PropertyMap properties = father.get(0).getProperties();
Set&amp;lt;String&amp;gt; pkeys = properties.getKeys();
for(String pk : pkeys){
	System.out.println(pk);
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;are dc:title and dc:modified.&lt;/P&gt;
&lt;P&gt;Is there a way to get the ACL/ACE of a document with the nuxeo Automation client&amp;nbsp;?&lt;/P&gt;</description>
    <pubDate>Thu, 10 Apr 2014 10:45:17 GMT</pubDate>
    <dc:creator>leonore_</dc:creator>
    <dc:date>2014-04-10T10:45:17Z</dc:date>
    <item>
      <title>Get rights nuxeo automation client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/get-rights-nuxeo-automation-client/m-p/314958#M1959</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am using nuxeo automation client to see the documents and folders in my nuxeo repository.
My goal is to print a tree with the documents AND their rights.&lt;/P&gt;
&lt;P&gt;The point is, I don't know how to get the ACL/ACE of a document since the only properties I find when I do&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;ArrayList&amp;lt;CUFRDoc&amp;gt; father = doc.getDocuments(session,"SELECT * FROM Document WHERE ecm:path='/default-domain/workspaces/Stage/test1'");
				    
//Properties
PropertyMap properties = father.get(0).getProperties();
Set&amp;lt;String&amp;gt; pkeys = properties.getKeys();
for(String pk : pkeys){
	System.out.println(pk);
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;are dc:title and dc:modified.&lt;/P&gt;
&lt;P&gt;Is there a way to get the ACL/ACE of a document with the nuxeo Automation client&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2014 10:45:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/get-rights-nuxeo-automation-client/m-p/314958#M1959</guid>
      <dc:creator>leonore_</dc:creator>
      <dc:date>2014-04-10T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get rights nuxeo automation client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/get-rights-nuxeo-automation-client/m-p/314959#M1960</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Indeed, Automation API doesn't provide GET method for document ACLs, only Set and Remove operations (on purpose)&lt;/P&gt;
&lt;P&gt;I advise you to take a look at the new REST API of Nuxeo letting you getting all kind of information of documents:
&lt;A href="http://doc.nuxeo.com/display/NXDOC/Resources+Endpoints" target="test_blank"&gt;http://doc.nuxeo.com/display/NXDOC/Resources+Endpoints&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The resource endpoint you're looking for, is the "aclAdapter": GET /path/{docPath}/@acl
You have to use a rest client to execute this GET method.&lt;/P&gt;
&lt;P&gt;We're currently building REST API client in Java or other languages client side.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2014 18:26:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/get-rights-nuxeo-automation-client/m-p/314959#M1960</guid>
      <dc:creator>Vladimir_Pasqui</dc:creator>
      <dc:date>2014-04-10T18:26:08Z</dc:date>
    </item>
  </channel>
</rss>

