Forum OpenACS Q&A: Re: Incredible Performance Decrease - Please help!!!

Collapse
Posted by Don Baccus on
Right ... use acs_permission__permission_p() in the result set (the list of expressions between SELECT and FROM) to return 't' or 'f' for permission information on returned rows.

But use the view form in WHERE clauses to check of a particular row has a permission set or not.

A lot of code was written using the function calls because the old views from aD ACS 4.2 didn't scale but my work on permission last year fixed that issue.