<div dir="ltr"><div dir="ltr"><font face="arial, sans-serif" color="#000000">Hope I reply to the right place....</font><div><font face="arial, sans-serif" color="#000000" style="background-color:rgb(255,255,255)">First thank you all for your answers.</font></div><div><font face="arial, sans-serif" color="#000000"><span style="background-color:rgb(255,255,255)">@ <span style="white-space:pre-wrap">Martin Allen - Its happen only if you share with group or users not in case of "ALL USERS" share. This is because if you share with all users the share status field (table </span>vtiger_customview)  is 3 so the permission returns yes. In all other case the status  is 1 and the function does not check the share table </span></font>

permission   <font face="arial, sans-serif" color="#000000"><span style="background-color:rgb(255,255,255)">(tables cv2users, cv2group and so on) and return false.</span><br></font></div><div><font face="arial, sans-serif" color="#000000"><span style="background-color:rgb(255,255,255)">@uma - In my case I found out that if you do the share as is say (with same users not all) the </span></font><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.44px">breadcrumb FilterName does not change accordingly as I aspect.</span><font face="arial, sans-serif" color="#000000"><span style="background-color:rgb(255,255,255)"><br></span></font></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.44px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.44px">Thanks again for your answers </span></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-size:13.44px">Omri</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 24, 2020 at 11:16 AM omri yona <<a href="mailto:omri.yona@gmail.com">omri.yona@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello all,</div><div><br></div><div>I am using vtiger 7.2 and I found a bug that in case of open record from share list, you jump to the record from ALL list (The header is <module name>->ALL-><my list></div><div>I dive to the log and CustomView module and found out that in 

isPermittedCustomView function (file modules/CustomView/CustomView.php) in case of share list you get permission No even if other user share the list with you. </div><div>so the cvid does not save in the session date (viewid set to 0)</div><div> <span style="background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap;color:rgb(156,220,254)">$_SESSION</span><span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap">[</span><span style="background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap;color:rgb(206,145,120)">'lvs'</span><span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap">][</span><span style="background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap;color:rgb(156,220,254)">$module</span><span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap">][</span><span style="background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap;color:rgb(206,145,120)">"viewname"</span><span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap">] = </span><span style="background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap;color:rgb(156,220,254)">$viewid</span><span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap">;</span></div><div> </div><div>There is something I miss? Why the permission is no even if someone share this list with my?<span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre-wrap"><br></span></div><div><br></div><div>Thank you,</div><div>Omri</div><div><br></div></div>
</blockquote></div></div>