<?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: Setting permissions for groups in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85301#M57533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good news,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the origin of the bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I confirm that it is an Alfresco bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(I will open shortly an ticket for this bug)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what is exactly the bug in Alfresco but I know what is generating the bug: the username has DIGIT inside his name !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try the same test without digit in the user name and you will not have the problem anymore !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess it is a bug with the way Alfresco index the username with Lucene (somethink binded with tokenizing of name value or somethink like that).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this will help you to continue your work at moment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2007 10:29:26 GMT</pubDate>
    <dc:creator>clincks</dc:creator>
    <dc:date>2007-04-19T10:29:26Z</dc:date>
    <item>
      <title>Setting permissions for groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85298#M57530</link>
      <description>I am trying to give permission to add users to the system to a group of users, not only the admin user(s).My first naive attempt was the following:In the NewUserWizard, I noticed the following line:NodeRef newPerson = this.personService.createPerson(props);I then created a new group (as admin) using</description>
      <pubDate>Mon, 16 Apr 2007 15:32:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85298#M57530</guid>
      <dc:creator>anwar</dc:creator>
      <dc:date>2007-04-16T15:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Setting permissions for groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85299#M57531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have done some more experimenting with this, and I have found another result which puzzles me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look at the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Set&amp;lt;String&amp;gt; authorities1 = authorityService.getAllAuthorities(AuthorityType.USER);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;This set contains "auser1".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Set authorities2 = authorityService.getContainedAuthorities(null, "GROUP_admingroup", false);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;This set contains "auser1".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Set authorities3 = authorityService.getContainingAuthorities(null, "auser1", false);&lt;BR /&gt;Set authorities4 = authorityService.getContainingAuthorities(null, "USER_auser1", false);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;These sets are both empty!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can it be that auser1 is contained within the authority admingroup, but admingroup is not one of auser1's containing authorities? It doesn't seem possible. What have I misunderstood?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 16:00:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85299#M57531</guid>
      <dc:creator>anwar</dc:creator>
      <dc:date>2007-04-16T16:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Setting permissions for groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85300#M57532</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;I have exactly the same problem in my program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem is that it work in a previous version of my program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I debug it with old and new version of my program (thanks on subversion…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Unfortunalty there are a lot of change between both version… so i take very long time to indentify the problem).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;During debug, I remark that somethink is going wrong in lucene index !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But i'm not expert in lucene… i tried to debug it, but at moment I don't understand how it work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's a bug, but ???&amp;nbsp; :? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the lucene query that work on the alf_data (see attached alf_data_working.zip file here: &lt;/SPAN&gt;&lt;A href="http://www.unbase.com/n/5353510982" rel="nofollow noopener noreferrer"&gt;http://www.unbase.com/n/5353510982&lt;/A&gt;&lt;SPAN&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+TYPE:"{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/user/1.0}authorityContainer" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/user/1.0}authorityContainer&lt;/A&gt;&lt;SPAN&gt;" +@\{http\://&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/user/1.0\}members:%22igrootadmin@circa" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/user/1.0\}members:'igrootadmin@circa&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the lucente query that doesn't work on alf_data (see attached alf_data_not_working.zip file here: &lt;/SPAN&gt;&lt;A href="http://www.unbase.com/n/1332731458" rel="nofollow noopener noreferrer"&gt;http://www.unbase.com/n/1332731458&lt;/A&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+TYPE:"{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/user/1.0}authorityContainer" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/user/1.0}authorityContainer&lt;/A&gt;&lt;SPAN&gt;" +@\{http\://&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/user/1.0\}members:%22circabc1admin@circa" rel="nofollow noopener noreferrer"&gt;www.alfresco.org/model/user/1.0\}members:'circabc1admin@circa&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm bloked for some days in my work by this think, so if you knows what is going wrong, please help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 18:56:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85300#M57532</guid>
      <dc:creator>clincks</dc:creator>
      <dc:date>2007-04-18T18:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setting permissions for groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85301#M57533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good news,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the origin of the bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I confirm that it is an Alfresco bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(I will open shortly an ticket for this bug)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what is exactly the bug in Alfresco but I know what is generating the bug: the username has DIGIT inside his name !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try the same test without digit in the user name and you will not have the problem anymore !!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess it is a bug with the way Alfresco index the username with Lucene (somethink binded with tokenizing of name value or somethink like that).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this will help you to continue your work at moment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 10:29:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85301#M57533</guid>
      <dc:creator>clincks</dc:creator>
      <dc:date>2007-04-19T10:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Setting permissions for groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85302#M57534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe this is the same bug:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://issues.alfresco.com/browse/AWC-1157" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/AWC-1157&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which has been fixed for the next release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2007 14:35:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85302#M57534</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-04-19T14:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Setting permissions for groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85303#M57535</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;I tried in a newer version of alfresco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;16:24:37,863 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (dev @build-number@) schema 51 - Installed version 2.1.0 (dev @build-number@) schema 51&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With same bad effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For info,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 11:45:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85303#M57535</guid>
      <dc:creator>clincks</dc:creator>
      <dc:date>2007-04-24T11:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setting permissions for groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85304#M57536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK sounds like a different issue then &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; Can you raise it in &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com" rel="nofollow noopener noreferrer"&gt;JIRA&lt;/A&gt;&lt;SPAN&gt; please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 13:39:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85304#M57536</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-04-24T13:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting permissions for groups</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85305#M57537</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 issue has been fixed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 15:47:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-permissions-for-groups/m-p/85305#M57537</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-06-15T15:47:09Z</dc:date>
    </item>
  </channel>
</rss>

