If you're going to have a collection, usually you preload the
collection and filter out what you don't want to reduce memory
overhead for one and to ensure accurate pagination for two. If those
aren't a concern, add an if condition on the row checking for
permission will just not display those items for which permission is
lacking.
For example:
<table>
<tr: if="&this.view_permitted?(field)" />
</table>
Though, most times at least one of the first two conditions I
mentioned applies so you filter what you load.
I actually tried mostly the same thing before tom pointed that out to
me about the pagination.
On Jan 29, 6:54 pm, "
craigku...@gmail.com" <
craigku...@gmail.com>
wrote: