[Vtigercrm-developers] Record restriction based on reports_to field.

Adam Heinz amh at metricwise.net
Tue Apr 30 14:44:54 UTC 2013


Ooooooh, reverse that again, it could be cyclic, even though that would
make so sense, the system does not enforce it.  Definitely need the
accumulator to avoid an infinite loop.  Set two users to report to each
other and see if it explodes.  ;)


On Tue, Apr 30, 2013 at 10:14 AM, Adam Heinz <amh at metricwise.net> wrote:

> On Tue, Apr 30, 2013 at 10:12 AM, Adam Heinz <amh at metricwise.net> wrote:
>
>> You should add some sort of accumulator to getReportingUsers so that you
>> don't recur for userids you have already checked.
>>
>
> Scratch this comment, we're walking a directed acyclic graph; redundancy
> is impossible.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130430/1a1b3e78/attachment-0001.html>


More information about the vtigercrm-developers mailing list