<div dir="ltr">Yes Alan came across that from Adam, but the phplens link is not working anymore.<div><br></div><div>Plan is to put the function in Users/Privileges model class itself. And in the function where we build the privileges file, trigger and event. Which can be then listened to in Cache class and reloads the data into cache.</div><div><br></div><div>Same approach can be later took upon if caching is required anywhere, to introduce event triggers (such as picklist value changes, calendar settings, module structures) and then listen for these events to rebuild cache for the specific component.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 15, 2022 at 7:33 PM Alan Lord <<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@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">Just in case, read this thread from 2012 - there might be some useful <br>
info in it:<br>
<br>
<a href="http://lists.vtigercrm.com/pipermail/vtigercrm-developers/2012-January/021823.html" rel="noreferrer" target="_blank">http://lists.vtigercrm.com/pipermail/vtigercrm-developers/2012-January/021823.html</a><br>
<br>
Adam Heinz did most of this work way-back then. As far as I can tell, if <br>
trac is still online you might be able to pull the changes and use some <br>
of his work perhaps.<br>
<br>
HTH<br>
<br>
Al<br>
<br>
<br>
On 15/03/2022 13:42, Sukhdev Mohan wrote:<br>
> I like the second part. If I can help please let me know. I always <br>
> disliked the user file exposed...<br>
> <br>
> Il mar 15 mar 2022, 14:37 nilay khatri <<a href="mailto:nilay.spartan@gmail.com" target="_blank">nilay.spartan@gmail.com</a> <br>
> <mailto:<a href="mailto:nilay.spartan@gmail.com" target="_blank">nilay.spartan@gmail.com</a>>> ha scritto:<br>
> <br>
>     The best approach is caching. There has been an update on the cache<br>
>     connector already.<br>
> <br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div>