<?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 What is the difference between Acp: listUsernamesForPermission(String permission) and UserManager.getUsersForPermission(String permission, Acp acp) ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/what-is-the-difference-between-acp-listusernamesforpermission/m-p/328015#M15016</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm working on a workflow wich at its entry point select evey users having given permission on current document as assignees.&lt;/P&gt;
&lt;P&gt;I've tryed with the method UserManager.getUsersForPermission(String permission, Acp acp) on one platform and it's working like a charm. I've tryed on another platform an it's non-working any more because of an empty user list returned.&lt;/P&gt;
&lt;P&gt;If i use listUsernamesForPermission(String permission) from Acp class, it works, but the method is deprecated.&lt;/P&gt;
&lt;P&gt;The difference between the two platform is, I think, inheritance of permissions wich is blocked at some point on the not working platform.&lt;/P&gt;
&lt;P&gt;Any help is welcome&lt;/P&gt;
&lt;P&gt;Antoine&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2013 12:19:31 GMT</pubDate>
    <dc:creator>Antoine_Cordier</dc:creator>
    <dc:date>2013-09-27T12:19:31Z</dc:date>
    <item>
      <title>What is the difference between Acp: listUsernamesForPermission(String permission) and UserManager.getUsersForPermission(String permission, Acp acp) ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/what-is-the-difference-between-acp-listusernamesforpermission/m-p/328015#M15016</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm working on a workflow wich at its entry point select evey users having given permission on current document as assignees.&lt;/P&gt;
&lt;P&gt;I've tryed with the method UserManager.getUsersForPermission(String permission, Acp acp) on one platform and it's working like a charm. I've tryed on another platform an it's non-working any more because of an empty user list returned.&lt;/P&gt;
&lt;P&gt;If i use listUsernamesForPermission(String permission) from Acp class, it works, but the method is deprecated.&lt;/P&gt;
&lt;P&gt;The difference between the two platform is, I think, inheritance of permissions wich is blocked at some point on the not working platform.&lt;/P&gt;
&lt;P&gt;Any help is welcome&lt;/P&gt;
&lt;P&gt;Antoine&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2013 12:19:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/what-is-the-difference-between-acp-listusernamesforpermission/m-p/328015#M15016</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2013-09-27T12:19:31Z</dc:date>
    </item>
  </channel>
</rss>

