https://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042021-07-19T09:31:11ZRhodeCode - issuesRhodeCode CE/EE - Bug #5664: Regression: When assigning permissions, cannot see own group in auto-complete without special conditionshttps://issues.rhodecode.com/issues/5664?journal_id=269022021-07-19T09:31:11ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<ul></ul><p>Hi Yechen,</p>
<p>Could you provide a bit more examples with screenshots from RhodeCode ? We're uncertain if we understand the problem completly</p>
RhodeCode CE/EE - Bug #5664: Regression: When assigning permissions, cannot see own group in auto-complete without special conditionshttps://issues.rhodecode.com/issues/5664?journal_id=269032021-07-28T15:55:05ZYechen Qiao
<ul><li><strong>File</strong> <a href="/attachments/3094">clipboard-202107281153-xzysa.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3094/clipboard-202107281153-xzysa.png">clipboard-202107281153-xzysa.png</a> added</li><li><strong>File</strong> <a href="/attachments/3095">clipboard-202107281154-7kch2.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3095/clipboard-202107281154-7kch2.png">clipboard-202107281154-7kch2.png</a> added</li></ul><p>Hi,</p>
<p><img src="https://issues.rhodecode.com/attachments/download/3094/clipboard-202107281153-xzysa.png" alt="" loading="lazy" /><br>
In this screen, I as admin user, added my regular user in group "Testing_Two"</p>
<p><img src="https://issues.rhodecode.com/attachments/download/3095/clipboard-202107281154-7kch2.png" alt="" loading="lazy" /><br>
However, when I try to add this group to repo, it does not appear in auto-complete. So it auto-clears out when I hit enter.</p>
<p><strong>On further investigation, it seems if I rename the group to "Testing" without underscore, this works. So perhaps it's the underscore that broke it?</strong></p>
RhodeCode CE/EE - Bug #5664: Regression: When assigning permissions, cannot see own group in auto-complete without special conditionshttps://issues.rhodecode.com/issues/5664?journal_id=269042021-07-29T10:49:41ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<ul></ul><p>Hi,</p>
<p>So actually we've identified this is a permission cache problem. When someone creates a new user group the cache for permissions is invalidated for this person only, so others won't see this user group. The rename invalidates cache for all that have read permissions so that's why you see this group then.<br>
We're going to fix this on the next release asap.</p>
RhodeCode CE/EE - Bug #5664: Regression: When assigning permissions, cannot see own group in auto-complete without special conditionshttps://issues.rhodecode.com/issues/5664?journal_id=269752022-07-22T11:53:13ZRedmine Integration
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>Commit <code>ccc560750759</code> by RhodeCode Admin <a href="mailto:admin@rhodecode.com">admin@rhodecode.com</a> on <code>default</code> branch changed this issue.<br>
<a href="https://code.rhodecode.com/rhodecode-enterprise-ce/changeset/ccc5607507592723976bca23bab6b5af9ddaf8e1" class="external">https://code.rhodecode.com/rhodecode-enterprise-ce/changeset/ccc5607507592723976bca23bab6b5af9ddaf8e1</a></p>