You can at least do in your model file:

if user=='edit': # or your condition
   db.table.field.represent=....
else:
   db.table.field.represent=....

David

On 2 pro, 15:14, Johann Spies <[email protected]> wrote:
> I want the id of a record show an 'edit' (eg. crud.update) link when certain
> users are logged in and 'show' (crud.read) when others are logged in.
>
> How can that be done using lambda?
>
> Regards
> Johann
> --
>  May grace and peace be yours in abundance through the full knowledge of God
> and of Jesus our Lord!  His divine power has given us everything we need for
> life and godliness through the full knowledge of the one who called us by
> his own glory and excellence.
>                                                     2 Pet. 1:2b,3a

Reply via email to