<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi vtigers,</p>
    <p>I have a problem on users visibility based on "Can Assign Records
      To" role configuration.</p>
    <p>I have a fresh VT 8.3 install and created 2 sales roles, SP1 and
      SP2,  as in the picture:</p>
    <img src="cid:part1.OPaVtXDB.tTeng6oH@vinsoft.it"
      moz-do-not-send="false" alt="" width="626" height="471" border="1">
    <p>SP1 and SP2 have  "Can Assign Records To" on  "Users having Same
      Role or Subordinate Role"</p>
    <p><img src="cid:part2.n2SCop1j.3M4S3lUs@vinsoft.it"
        moz-do-not-send="false" alt="" width="658" height="474"
        border="1"><img src="cid:part3.0wv8l5aD.Xh10qLFH@vinsoft.it"
        moz-do-not-send="false" width="658" height="473" alt=""
        border="1"></p>
    <p>I removed all precofigured Groups, there are no groups in the
      installed VT.<br>
    </p>
    <p>I then created 3 users in the 2 roles:<br>
    </p>
    <p><br>
    </p>
    <img src="cid:part4.VZhSWayF.W3PuZVyj@vinsoft.it"
      moz-do-not-send="false" alt="" width="814" height="567" border="1">
    <p>Then I created 2 contacts for each role <br>
    </p>
    <p><img src="cid:part5.mO7BzsPe.OibCBZga@vinsoft.it"
        moz-do-not-send="false" alt="" width="811" height="386"
        border="1"></p>
    <p>Sharing rules of Contacts module set on Private and inter-role
      visibility enabled:</p>
    <img src="cid:part6.ou4anzx4.w0uvcILo@vinsoft.it"
      moz-do-not-send="false" width="811" height="397" alt="" border="1">
    <p><br>
    </p>
    <p>Entity visibility works as expected:<br>
    </p>
    <p><img src="cid:part7.qplwdxhS.6m2HoI2X@vinsoft.it"
        moz-do-not-send="false" width="809" height="502" alt=""
        border="1"></p>
    <p><br>
    </p>
    <p>The problem is on "Can Assign Records To" =  "Users having Same
      Role or Subordinate Role"</p>
    <p>because user of SP1 can assign to users of SP2 and vice-versa</p>
    <img src="cid:part8.pCeIiQ50.qRlCqUTk@vinsoft.it"
      moz-do-not-send="false" width="735" height="456" alt="" border="1"><img
      src="cid:part9.vhzqATq4.RNFQalTe@vinsoft.it"
      moz-do-not-send="false" width="736" height="457" alt="" border="1">
    <p><br>
    </p>
    <p>SP1 and SP2 are not the "Same Role" nor a "Subordinate Role". I
      see them as "Same level role", sharing the same parent Role.<br>
    </p>
    <p>I tried in different installs obtaining the same behaviuor.</p>
    <p>Is this a bug or an intended feature? <br>
    </p>
    <p>How can I solve this issue?<br>
    </p>
    <p>Thank you</p>
    <p>Vincenzo<br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>