<?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: Get documents permissions in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/get-documents-permissions/m-p/317473#M4474</link>
    <description>&lt;P&gt;Thank you pibou for your answer.  It led me to the right way (I think) to do it by using REST API.  I invoke the API with GET /id/{docId}/@acl and then I parse the JSON response.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2015 22:35:58 GMT</pubDate>
    <dc:creator>chouinard_</dc:creator>
    <dc:date>2015-03-23T22:35:58Z</dc:date>
    <item>
      <title>Get documents permissions</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/get-documents-permissions/m-p/317471#M4472</link>
      <description>&lt;P&gt;Hi,
working with Java Automation Client, I am trying to use the operation Document.GetUsersAndGroups, witch seems to work correctly.  But once the request is executed, I am supposed to be able to get the permissions from the 'context' using the 'variable name' I gave to the Document.GetUsersAndGroups operation, as the key.&lt;/P&gt;
&lt;P&gt;So my question is how and where do I get to that 'context' to get the key value?&lt;/P&gt;
&lt;P&gt;Note that when I execute the operation Document.GetUsersAndGroups I am in a client session of type HttpAutomationClient.&lt;/P&gt;
&lt;P&gt;The goal is to read the permissions (users or groups) associated to a document that have been set using the operation 'Document.SetACE'.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 17:35:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/get-documents-permissions/m-p/317471#M4472</guid>
      <dc:creator>chouinard_</dc:creator>
      <dc:date>2015-03-20T17:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get documents permissions</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/get-documents-permissions/m-p/317472#M4473</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;if you run Nuxeo 6.0, you d better use the REST API that offers not only automation operations and chains but also web adapters that can provide informations about the ACLs of your documents.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://doc.nuxeo.com/display/NXDOC/Web+Adapters+for+the+REST+API"&gt;http://doc.nuxeo.com/display/NXDOC/Web+Adapters+for+the+REST+API&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you re not working with both Nuxeo v6 and the REST API, the usual answer is to create your own document type and associated operations since client automation only deals with documents and blobs.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:14:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/get-documents-permissions/m-p/317472#M4473</guid>
      <dc:creator>pibou_Bouvret</dc:creator>
      <dc:date>2015-03-23T15:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get documents permissions</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/get-documents-permissions/m-p/317473#M4474</link>
      <description>&lt;P&gt;Thank you pibou for your answer.  It led me to the right way (I think) to do it by using REST API.  I invoke the API with GET /id/{docId}/@acl and then I parse the JSON response.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2015 22:35:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/get-documents-permissions/m-p/317473#M4474</guid>
      <dc:creator>chouinard_</dc:creator>
      <dc:date>2015-03-23T22:35:58Z</dc:date>
    </item>
  </channel>
</rss>

