<?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 Group membership usin SSO in version5.16.3 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206709#M159839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my second question in the context of SSO. I need to resolve group membership basis on SSO (activiti-rest).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have successfuly switch off basic authentication but the problem is with getting tasks for a user where a group (a user is member of) is defined as a potential owner. I have debugged code many times and don't see where is taking place checking if the user is member of a group in original code base. GroupEntityManager methods arn't call any times when deploy definition, start instance or query for the task. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for my ignorance but could you give me some tips how to resolve this or where is the point where Activiti checking if the user from task query is member of a group if "group" task is defined. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tomasz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Dec 2014 14:11:25 GMT</pubDate>
    <dc:creator>faraon79</dc:creator>
    <dc:date>2014-12-05T14:11:25Z</dc:date>
    <item>
      <title>Group membership usin SSO in version5.16.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206709#M159839</link>
      <description>Hi,This is my second question in the context of SSO. I need to resolve group membership basis on SSO (activiti-rest).I have successfuly switch off basic authentication but the problem is with getting tasks for a user where a group (a user is member of) is defined as a potential owner. I have debugge</description>
      <pubDate>Fri, 05 Dec 2014 14:11:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206709#M159839</guid>
      <dc:creator>faraon79</dc:creator>
      <dc:date>2014-12-05T14:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Group membership usin SSO in version5.16.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206710#M159840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check GroupEntityManager: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public List&amp;lt;Group&amp;gt; findGroupsByUser(String userId) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return getDbSqlSession().selectList("selectGroupsByUserId", userId);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will need to plug your own version of GroupIdentityManager in to make this work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 15:51:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206710#M159840</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-12-05T15:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Group membership usin SSO in version5.16.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206711#M159841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the response. Actually I'm wondering if it is expected that runtime/tasks resource with query "candidateUser" and "candidateOrAssigned" are executed in different way, I mean when use "candidateUser" the 'findGroupsByUser' method is always called and&amp;nbsp; when use "candidateOrAssigned" query the method is never called. This is the reason why when debuging code I never get to the "findGroupsByUser" method. I just used incorrect query. Does the query "candidateOrAssigned" shoudn't return tasks for the user who exists in definition only as a group member as well? Different results are a bit confusing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2014 23:14:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206711#M159841</guid>
      <dc:creator>faraon79</dc:creator>
      <dc:date>2014-12-06T23:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Group membership usin SSO in version5.16.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206712#M159842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It depends if you are using Explorer or not. In Explorer, those queries are important, cause they will populate the task lists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, without Explorer, you can do as you please, and just use the candidateGroup queries to get tasks for certain groups.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im assuming you are using explorer? Where exactly do you see the use of these queries?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 13:33:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206712#M159842</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-12-08T13:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Group membership usin SSO in version5.16.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206713#M159843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using activiti-rest only. In my use case I'm going to populate user task list with resource "GET runtime/tasks". If I could use "candidateOrAssigned" query parameter I would get all the tasks for the user at one shoot. Alternatively I could try to join both queries: "candidateUser" and "assignee" but I'm not sure if the response is the result of use "or" or "and" operator for query parameters. We'll see.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 15:33:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206713#M159843</guid>
      <dc:creator>faraon79</dc:creator>
      <dc:date>2014-12-08T15:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Group membership usin SSO in version5.16.3</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206714#M159844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In details (activiti-rest):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Process definition contains two parallel tasks:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task1 with single user "user1" as potential owner&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task2 with group as potential owner(user1 is member of)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After start process instance and claim task1 results of request "GET runtime/tasks" are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. using "candidateUser=user1" query: one task - as expected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. using "assignee=user1" query: one task - as expected&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. using "candidateUser=user1&amp;amp;assignee=user1" query: empty list - seems that "and" operator is used&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. using "candidateOrAssigned=user1" query: one task (where user1 is assignee) - expected two tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding point 4 from list above, does group membership for that query is resolved in different method ("findGroupsByUser" isn't called) or two shoots are required to get two lists of tasks (one for assigned and one for candidate) and merge them outside Activiti. I'd like to avoid two shoots and e.g. be able to paging results on Activiti site. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tomasz&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 11:39:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/group-membership-usin-sso-in-version5-16-3/m-p/206714#M159844</guid>
      <dc:creator>faraon79</dc:creator>
      <dc:date>2014-12-09T11:39:59Z</dc:date>
    </item>
  </channel>
</rss>

