[Vtigercrm-developers] Listview isPermitted calls

Adam Heinz amh at metricwise.net
Fri Mar 1 07:02:35 PST 2013


It's especially bad if you set config.inc.php $list_max_entries_per_page >
20.  One of my side projects right now is to replace all links in the
action column with an ajax context menu.  That way you get the actual
actions available for the record, but without the overhead.


On Fri, Mar 1, 2013 at 3:11 AM, Vikas Jain <vikas at vtiger.com> wrote:

> Richard,
>
> It was done intentionally as it would take a hit on the listview
> performance and if your
> listview is large than it will take more time to load.
>
>
> On 17 January 2013 00:59, Richard Hills - TechnologyWise <richard at tw.co.nz
> > wrote:
>
>> Hi everyone,
>>
>> I was just looking at include/ListView/ListViewController.php in vtiger
>> 5.4 and saw that the isPermitted calls in the action builder section of
>> the script just checks access to the module and not to the actual
>> record. This was leaving us with "edit" buttons next to records which
>> users only had read-only access to, nobody had complained however it was
>> easier to debug our multiple assignment system with this working properly.
>>
>> I just wanted to check if anyone else had noticed this and checked into
>> it, I can only presume that this was done on purpose in order to speed
>> up rendering speed of the list view pages. Although I have updated our
>> system with this change I have as yet not had a chance to test it in a
>> busy system so any feedback would be great.
>>
>> Thank you
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
>
> --
> Regards
> Vikas
> Vtiger Team
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130301/72629248/attachment.html 


More information about the vtigercrm-developers mailing list