<?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: PHP Automation Client and ACL in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/php-automation-client-and-acl/m-p/327501#M14502</link>
    <description>&lt;P&gt;Hi Pierre,&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2011 13:38:09 GMT</pubDate>
    <dc:creator>Megha_</dc:creator>
    <dc:date>2011-10-20T13:38:09Z</dc:date>
    <item>
      <title>PHP Automation Client and ACL</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/php-automation-client-and-acl/m-p/327499#M14500</link>
      <description>&lt;P&gt;I was wondering if PHP Automation Client allows ACL requests or not?&lt;/P&gt;
&lt;P&gt;I need to know all the users with Write Permission on a document and I used following code but no joy!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?php

$x="";

$id = "8f488a16-7683-465e-9cce-03016f818622"; //ID of the object

$answer = $session-&amp;gt;newRequest('Document.GetUsersAndGroups')
	-&amp;gt;set('input', "doc:id")
	-&amp;gt;set('params', 'permission', 'Write')
	-&amp;gt;set('params', 'variable name', $x)
	-&amp;gt;sendRequest();

print_r($answer); //object returned
print_r($x); //nothing is returned
?&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Can anyone please help?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2011 16:49:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/php-automation-client-and-acl/m-p/327499#M14500</guid>
      <dc:creator>Megha_</dc:creator>
      <dc:date>2011-10-12T16:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Automation Client and ACL</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/php-automation-client-and-acl/m-p/327500#M14501</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Your variable $x can have as value 'local' or 'inherited'&lt;/P&gt;
&lt;P&gt;Good Luck for developpement
Pierre&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2011 16:57:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/php-automation-client-and-acl/m-p/327500#M14501</guid>
      <dc:creator>Pierre_Jenicot1</dc:creator>
      <dc:date>2011-10-19T16:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Automation Client and ACL</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/php-automation-client-and-acl/m-p/327501#M14502</link>
      <description>&lt;P&gt;Hi Pierre,&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2011 13:38:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/php-automation-client-and-acl/m-p/327501#M14502</guid>
      <dc:creator>Megha_</dc:creator>
      <dc:date>2011-10-20T13:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Automation Client and ACL</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/php-automation-client-and-acl/m-p/327502#M14503</link>
      <description>&lt;P&gt;The Get Users And Groups Operation  set the users and groups it computed in a context variable: calling it unitary is not what you want, as it will only return, as output, the same document you put in input. If you put "toto" for variable name parameter, then, in another operation that you would use in the same chain, you could refer to the list of users you fetched by using @{Context['toto']}. For instance, you would like to use the operation "Create Task" for which one of the parameters is  a variable name in which it will fetch the users to whom the operation should assign the task it creates.&lt;/P&gt;
&lt;P&gt;If the automation server doesn't return a serialization of a complete context, we would need to add an operatoin that returns a specific variable of the context, or maybe all the context, ... this has to be discussed.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 18:05:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/php-automation-client-and-acl/m-p/327502#M14503</guid>
      <dc:creator>Alain_ESCAFFRE</dc:creator>
      <dc:date>2011-11-04T18:05:46Z</dc:date>
    </item>
  </channel>
</rss>

