<?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: Alfresco search doesn't work with a specify group in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-search-doesn-t-work-with-a-specify-group/m-p/286769#M239899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is to do with the permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Invite that group as site Manager then try searching.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Patil&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cignex Datamatics&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 15:30:53 GMT</pubDate>
    <dc:creator>patil</dc:creator>
    <dc:date>2013-09-13T15:30:53Z</dc:date>
    <item>
      <title>Alfresco search doesn't work with a specify group</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-search-doesn-t-work-with-a-specify-group/m-p/286768#M239898</link>
      <description>Hi,I have 2 groups which are added in the list of groups of the site (/share/page/site/library/site-groups) containing folders and documents I want searched.The 2 groups are the same with a different name.My site (allow group1 and group2 )|_doc1.pdf|_doc2.pdfWhen I make a search (like doc1) with a p</description>
      <pubDate>Tue, 10 Sep 2013 17:36:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-search-doesn-t-work-with-a-specify-group/m-p/286768#M239898</guid>
      <dc:creator>julian</dc:creator>
      <dc:date>2013-09-10T17:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco search doesn't work with a specify group</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-search-doesn-t-work-with-a-specify-group/m-p/286769#M239899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is to do with the permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Invite that group as site Manager then try searching.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Patil&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cignex Datamatics&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 15:30:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-search-doesn-t-work-with-a-specify-group/m-p/286769#M239899</guid>
      <dc:creator>patil</dc:creator>
      <dc:date>2013-09-13T15:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco search doesn't work with a specify group</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-search-doesn-t-work-with-a-specify-group/m-p/286770#M239900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in fact it's not a problem that the group not belong to site Manager. The documents that cause problem are moved by a custom Alfresco action (coded in java). If the file has a specific type we removed permissions for group 2 on it (like this, the document is not visible for group 2 in the destination folder). If in the java action I keep the permissions on this node for group 2, the search works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the java action I removed the permissions like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;permissionService.setPermission(node, "GROUP_group2", PermissionService.READ, false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code works well because I don't see the node when I am in group2 and I look the destination folder. But the search is in error when it finds this node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you an idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 20:11:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-search-doesn-t-work-with-a-specify-group/m-p/286770#M239900</guid>
      <dc:creator>julian</dc:creator>
      <dc:date>2013-10-22T20:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco search doesn't work with a specify group</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-search-doesn-t-work-with-a-specify-group/m-p/286771#M239901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found a way to do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For the folder and the document I don't want to be show to the group2, I implemented the following java action code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;permissionService.setInheritParentPermissions(folderNode, false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;permissionService.setPermission(folderNode, "GROUP_group2", PermissionService.EXECUTE, false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;permissionService.setPermission(folderNode, "GROUP_group2", PermissionService.READ, false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And for the document:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;permissionService.setInheritParentPermissions(documentNode, true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 17:24:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-search-doesn-t-work-with-a-specify-group/m-p/286771#M239901</guid>
      <dc:creator>julian</dc:creator>
      <dc:date>2013-10-23T17:24:56Z</dc:date>
    </item>
  </channel>
</rss>

