<?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 from api content automation how to setACE on a document in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/from-api-content-automation-how-to-setace-on-a-document/m-p/325868#M12869</link>
    <description>&lt;P&gt;I would like to know the list of values allowed in the parameter "permission" of the Document.setACE function. In the same function what are the values allowed in the acl parameter ?&lt;/P&gt;
&lt;P&gt;I tried permission=READ, acl=local, user=vieville and the ui displays "label.security.permission.rEAD" in the field "Permission accordée"&lt;/P&gt;
&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2013 16:01:51 GMT</pubDate>
    <dc:creator>vieville_</dc:creator>
    <dc:date>2013-10-02T16:01:51Z</dc:date>
    <item>
      <title>from api content automation how to setACE on a document</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/from-api-content-automation-how-to-setace-on-a-document/m-p/325868#M12869</link>
      <description>&lt;P&gt;I would like to know the list of values allowed in the parameter "permission" of the Document.setACE function. In the same function what are the values allowed in the acl parameter ?&lt;/P&gt;
&lt;P&gt;I tried permission=READ, acl=local, user=vieville and the ui displays "label.security.permission.rEAD" in the field "Permission accordée"&lt;/P&gt;
&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 16:01:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/from-api-content-automation-how-to-setace-on-a-document/m-p/325868#M12869</guid>
      <dc:creator>vieville_</dc:creator>
      <dc:date>2013-10-02T16:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: from api content automation how to setACE on a document</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/from-api-content-automation-how-to-setace-on-a-document/m-p/325869#M12870</link>
      <description>&lt;P&gt;Here is the snippet for setting permissions locally:&lt;/P&gt;
&lt;P&gt;HttpAutomationClient autoclient = new HttpAutomationClient(“http://localhost:8080/nuxeo/site/automation”);
Session session = autoclient.getSession(“user”, “password”);
DocumentService documentService = new DocumentService(session);
Document root = (Document) session.newRequest(“Document.Fetch”).set(“value”, /docPath/docName).execute(); documentService.setPermission(root, userName/groupName, “Read”);&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2015 12:49:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/from-api-content-automation-how-to-setace-on-a-document/m-p/325869#M12870</guid>
      <dc:creator>Anurag_Kumar</dc:creator>
      <dc:date>2015-11-11T12:49:48Z</dc:date>
    </item>
  </channel>
</rss>

